function EntityDisplayModeInterface::getDescription

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php \Drupal\Core\Entity\EntityDisplayModeInterface::getDescription()

Gets the display mode description.

Return value

string The display mode description.

1 method overrides EntityDisplayModeInterface::getDescription()
EntityDisplayModeBase::getDescription in core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php
Gets the display mode description.

File

core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php, line 36

Class

EntityDisplayModeInterface
Provides an interface for entity types that hold form and view mode settings.

Namespace

Drupal\Core\Entity

Code

public function getDescription() : string;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.