The name of a callback that returns the label of the entity.
@todo Remove usages of label_callback https://www.drupal.org/node/2450793.
Type: callable|null
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use Drupal\Core\Entity\EntityInterface::label() for complex label generation as needed.
\Drupal\Core\Entity\EntityInterface::label()
protected $label_callback = NULL;
© 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/property/EntityType::label_callback/8.1.x