public function EntityTypeInterface::getBundleConfigDependency in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getBundleConfigDependency()
- 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 782
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getBundleConfigDependency($bundle);