Skip to content

Commit

Permalink
[WIP] Settings Form.
Browse files Browse the repository at this point in the history
  • Loading branch information
mccrodp committed Jul 25, 2016
1 parent 8d8191c commit 73c6dd5
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/Form/SettingsForm.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @file
*
Expand Down Expand Up @@ -37,20 +36,20 @@ public function getFormId() {
* {@inheritdoc}
*/
protected function getEditableConfigNames() {
return array('message_private.settings');
return ['message_private.settings'];
}


/**
* Holds the name of the keys we holds in the variable.
*/
public function defaultKeys() {
// @todo - update with message_private keys.
return array(
'purge_enable',
'purge_quota',
'purge_days',
'delete_on_entity_delete',
);
return [
'message_limit',
'email_notify',
'default_limit',
'default_interval',
];
}

/**
Expand Down

0 comments on commit 73c6dd5

Please sign in to comment.