You are here

public function FieldStateBase::getConfiguration in Field States UI 8

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

File

src/FieldStateBase.php, line 116

Class

FieldStateBase
Provides a base class for field staes.

Namespace

Drupal\field_states_ui

Code

public function getConfiguration() {
  return [
    'uuid' => $this
      ->getUuid(),
    'id' => $this
      ->getPluginId(),
    'data' => $this->configuration,
  ];
}