You are here

public function FlagTypeBase::defaultConfiguration in Flag 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

3 calls to FlagTypeBase::defaultConfiguration()
EntityFlagType::defaultConfiguration in src/Plugin/Flag/EntityFlagType.php
Gets default configuration for this plugin.
FlagTypeBase::setConfiguration in src/FlagType/FlagTypeBase.php
Sets the configuration for this plugin instance.
FlagTypeBase::__construct in src/FlagType/FlagTypeBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
1 method overrides FlagTypeBase::defaultConfiguration()
EntityFlagType::defaultConfiguration in src/Plugin/Flag/EntityFlagType.php
Gets default configuration for this plugin.

File

src/FlagType/FlagTypeBase.php, line 57

Class

FlagTypeBase
Provides a base class for flag type plugins.

Namespace

Drupal\flag\FlagType

Code

public function defaultConfiguration() {
  return [];
}