You are here

public function BlockBase::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Block/BlockBase.php \Drupal\Core\Block\BlockBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

1 call to BlockBase::defaultConfiguration()
BlockBase::setConfiguration in core/lib/Drupal/Core/Block/BlockBase.php
Sets the configuration for this plugin instance.
14 methods override BlockBase::defaultConfiguration()
AggregatorFeedBlock::defaultConfiguration in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php
Gets default configuration for this plugin.
BlockContentBlock::defaultConfiguration in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Gets default configuration for this plugin.
BookNavigationBlock::defaultConfiguration in core/modules/book/src/Plugin/Block/BookNavigationBlock.php
Gets default configuration for this plugin.
ForumBlockBase::defaultConfiguration in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
Gets default configuration for this plugin.
LocalActionsBlock::defaultConfiguration in core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php
Gets default configuration for this plugin.

... See full list

File

core/lib/Drupal/Core/Block/BlockBase.php, line 99
Contains \Drupal\Core\Block\BlockBase.

Class

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

Namespace

Drupal\Core\Block

Code

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