Overrides Drupal\Core\Entity\Entity::label().
Overrides Entity::label
File
- drupal/core/modules/editor/lib/Drupal/editor/Plugin/Core/Entity/Editor.php, line 66
- Contains \Drupal\editor\Plugin\Core\Entity\Editor.
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\Plugin\Core\Entity
Code
public function label($langcode = NULL) {
$format = filter_format_load($this->format);
return $format->name;
}