Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getBundleConfigDependency()
  2. 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getBundleConfigDependency()

Gets the config dependency info for this entity, if any exists.

Parameters

string $bundle: The bundle name.

Return value

array An associative array containing the following keys:

  • 'type': The config dependency type (e.g. 'module', 'config').
  • 'name': The name of the config dependency.
1 method overrides EntityTypeInterface::getBundleConfigDependency()
EntityType::getBundleConfigDependency in core/lib/Drupal/Core/Entity/EntityType.php
Gets the config dependency info for this entity, if any exists.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 800

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getBundleConfigDependency($bundle);