You are here

public function FieldStateBase::defaultConfiguration in Field States UI 8

Same name and namespace in other branches
  1. 8.2 src/FieldStateBase.php \Drupal\field_states_ui\FieldStateBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

1 call to FieldStateBase::defaultConfiguration()
FieldStateBase::setConfiguration in src/FieldStateBase.php
Sets the configuration for this plugin instance.

File

src/FieldStateBase.php, line 157

Class

FieldStateBase
Provides a base class for field staes.

Namespace

Drupal\field_states_ui

Code

public function defaultConfiguration() {
  return [
    'value' => TRUE,
  ];
}