You are here

public function Taxonomy::defaultConfiguration in Workbench Access 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides AccessControlHierarchyBase::defaultConfiguration

File

src/Plugin/AccessControlHierarchy/Taxonomy.php, line 124

Class

Taxonomy
Defines a hierarchy based on a Vocabulary.

Namespace

Drupal\workbench_access\Plugin\AccessControlHierarchy

Code

public function defaultConfiguration() {
  $defaults = [
    'fields' => [],
    'vocabularies' => [],
  ];
  return $defaults + parent::defaultConfiguration();
}