You are here

public function EntityDisplayBase::getTargetBundle in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\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 224
Contains \Drupal\Core\Entity\EntityDisplayBase.

Class

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

Namespace

Drupal\Core\Entity

Code

public function getTargetBundle() {
  return $this->bundle;
}