public EntityType::hasLabelCallback()
Indicates if a label callback exists.
bool
Overrides EntityTypeInterface::hasLabelCallback
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use EntityInterface::label() for complex label generation as needed.
\Drupal\Core\Entity\EntityInterface::label()
\Drupal\Core\Entity\EntityTypeInterface::getLabelCallback()
\Drupal\Core\Entity\EntityTypeInterface::setLabelCallback()
public function hasLabelCallback() { return isset($this->label_callback); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType.php/function/EntityType::hasLabelCallback/8.1.x