You are here

public function ClassUtilsTrait::targetTypeLabel in Scheduled Updates 8

1 call to ClassUtilsTrait::targetTypeLabel()
FieldClonerForm::createFieldsElements in src/Form/FieldClonerForm.php
Create field elements for all field on the entity type to update.

File

src/ClassUtilsTrait.php, line 121
Contains \Drupal\scheduled_updates\ClassUtilsTrait.

Class

ClassUtilsTrait
Trait for Class related functions.

Namespace

Drupal\scheduled_updates

Code

public function targetTypeLabel(ScheduledUpdateTypeInterface $scheduledUpdateType) {
  return $this
    ->entityLabel($scheduledUpdateType
    ->getUpdateEntityType());
}