You are here

public function SocialContentVK::instanceSettingsForm in Social Content 7.2

Instance settings form.

Return value

array Any instance settings that will be included on all instance forms for the current global.

Overrides SocialContent::instanceSettingsForm

File

modules/vk/social_content_vk.class.inc, line 96
Social Content VK class.

Class

SocialContentVK
@file Social Content VK class.

Code

public function instanceSettingsForm() {
  $settings = $this->settings['instance'];
  $form = parent::instanceSettingsForm($settings);
  $form['owner_id'] = array(
    '#type' => 'textfield',
    '#title' => t('VK Owner ID'),
    '#description' => t('The VK user/group id to pull the statuses from. Use negative numbers for groups.'),
    '#default_value' => isset($settings['owner_id']) ? $settings['owner_id'] : NULL,
  );
  return $form;
}