You are here

public static function Workflow::defaultSettings in Workflow 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides WorkflowInterface::defaultSettings

2 calls to Workflow::defaultSettings()
Workflow::mergeDefaults in src/Entity/Workflow.php
Merges default settings values into $settings.
WorkflowTransitionElement::transitionElement in src/Element/WorkflowTransitionElement.php
Generate an element.

File

src/Entity/Workflow.php, line 498

Class

Workflow
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public static function defaultSettings() {
  return [
    'name_as_title' => 0,
    'fieldset' => 0,
    'options' => 'radios',
    'schedule_enable' => 1,
    'schedule_timezone' => 1,
    'always_update_entity' => 0,
    'comment_log_node' => '1',
    'watchdog_log' => TRUE,
  ];
}