public function BlockBase::settings

Returns plugin-specific settings for the block.

Block plugins only need to override this method if they override the defaults provided in BlockBase::settings().

Return value

array An array of block-specific settings to override the defaults provided in BlockBase::settings().

Overrides BlockPluginInterface::settings

See also

\Drupal\block\BlockBase::settings().

1 call to BlockBase::settings()
BlockBase::__construct in drupal/core/modules/block/lib/Drupal/block/BlockBase.php
Constructs a Drupal\Component\Plugin\PluginBase object.
13 methods override BlockBase::settings()
AggregatorCategoryBlock::settings in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php
Overrides \Drupal\block\BlockBase::settings().
AggregatorFeedBlock::settings in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php
Overrides \Drupal\block\BlockBase::settings().
BookNavigationBlock::settings in drupal/core/modules/book/lib/Drupal/book/Plugin/Block/BookNavigationBlock.php
Overrides \Drupal\block\BlockBase::settings().
CustomBlockBlock::settings in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Block/CustomBlockBlock.php
Overrides \Drupal\block\BlockBase::settings().
ForumBlockBase::settings in drupal/core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php
Overrides \Drupal\block\BlockBase::settings().

... See full list

File

drupal/core/modules/block/lib/Drupal/block/BlockBase.php, line 47
Contains \Drupal\block\BlockBase.

Class

BlockBase
Defines a base block implementation that most blocks plugins will extend.

Namespace

Drupal\block

Code

public function settings() {
  return array();
}