protected function ClassUtilsTrait::entityLabel in Scheduled Updates 8
2 calls to ClassUtilsTrait::entityLabel()
- ClassUtilsTrait::targetTypeLabel in src/
ClassUtilsTrait.php - ScheduledUpdateTypeAddAsFieldForm::save in src/
Form/ ScheduledUpdateTypeAddAsFieldForm.php - Form submission handler for the 'save' action.
File
- src/
ClassUtilsTrait.php, line 105 - Contains \Drupal\scheduled_updates\ClassUtilsTrait.
Class
- ClassUtilsTrait
- Trait for Class related functions.
Namespace
Drupal\scheduled_updatesCode
protected function entityLabel($type_id) {
return $this
->entityTypeManager()
->getDefinition($type_id)
->getLabel();
}