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

public function getTargetBundle() {
  return $this->bundle;
}
doc_Drupal
2016-10-29 09:05:17
Comments
Leave a Comment

Please login to continue.