You are here

protected function SocialPostPostForm::defineOptions in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  2. 8.2 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  3. 8.3 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  4. 8.4 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  5. 8.5 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  6. 8.6 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  7. 8.7 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  8. 8.8 modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  9. 10.3.x modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  10. 10.0.x modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  11. 10.1.x modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()
  12. 10.2.x modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php \Drupal\social_post\Plugin\views\area\SocialPostPostForm::defineOptions()

Information about options for all kinds of purposes will be held here.


'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),

Return value

array Returns the options of this handler/plugin.

Overrides AreaPluginBase::defineOptions

File

modules/social_features/social_post/src/Plugin/views/area/SocialPostPostForm.php, line 46

Class

SocialPostPostForm
Provides an area handler which renders a block entity in a certain view mode.

Namespace

Drupal\social_post\Plugin\views\area

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['block_id'] = [
    'default' => 'post_photo_block',
  ];
  return $options;
}