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()
13 methods override BlockBase::settings()

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();
}