function EntityTypeInterface::getBundleConfigDependency
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getBundleConfigDependency()
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getBundleConfigDependency()
- 10 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 811
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getBundleConfigDependency($bundle);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.