You are here

protected function SocialContent::instanceSettingsFields in Social Content 7.2

The default field keys which will be on all instance's forms.

Return value

array field keys.

1 call to SocialContent::instanceSettingsFields()
SocialContent::instanceSettingsForm in ./social_content.class.inc
Instance settings form.

File

./social_content.class.inc, line 396
Social Content class.

Class

SocialContent
TODO: Table names should be a property for ease of change Separate this class into smaller classes.

Code

protected function instanceSettingsFields() {
  return array(
    'limit' => 50,
    'author' => 1,
    'auto_publish' => TRUE,
    'auto_delete' => NULL,
    'enabled' => FALSE,
    'language' => LANGUAGE_NONE,
    'content_type' => 'social_media',
    'global' => $this
      ->getMachineName(),
    'id' => NULL,
  );
}