You are here

public function EntityHelper::getBundleInfo in Simple XML sitemap 4.x

Parameters

string $entity_type_id:

Return value

array

File

src/Entity/EntityHelper.php, line 52

Class

EntityHelper
Helper class for working with entities.

Namespace

Drupal\simple_sitemap\Entity

Code

public function getBundleInfo(string $entity_type_id) : array {
  return $this->entityTypeBundleInfo
    ->getBundleInfo($entity_type_id);
}