You are here

public function Workflow::getSettings in Workflow 8

Returns the array of settings, including defaults for missing settings.

Return value

array The array of settings.

Overrides WorkflowInterface::getSettings

File

src/Entity/Workflow.php, line 514

Class

Workflow
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public function getSettings() {

  // Merge defaults before returning the array.
  if (!$this->defaultSettingsMerged) {
    $this
      ->mergeDefaults();
  }
  return $this->options;
}