You are here

public function SetCustomPublishOptionValue::defaultConfiguration in Custom Publishing Options 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableActionBase::defaultConfiguration

File

src/Plugin/Action/SetCustomPublishOptionValue.php, line 34

Class

SetCustomPublishOptionValue
Sets the custom publishing option on a node to a given value.

Namespace

Drupal\custom_pub\Plugin\Action

Code

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