You are here

public function EntityBundle::defaultConfiguration in Drupal 9

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

core/lib/Drupal/Core/Entity/Plugin/Condition/EntityBundle.php, line 138

Class

EntityBundle
Provides the 'Entity Bundle' condition.

Namespace

Drupal\Core\Entity\Plugin\Condition

Code

public function defaultConfiguration() {
  return [
    'bundles' => [],
  ] + parent::defaultConfiguration();
}