EntityDisplayBase::getTargetBundle

public EntityDisplayBase::getTargetBundle()

Gets the bundle to be displayed.

Return value

string The bundle to be displayed.

Overrides EntityDisplayInterface::getTargetBundle

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 219

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

1
2
3
public function getTargetBundle() {
  return $this->bundle;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.