public function AssetInjectorEnableForm::getDescription in Asset Injector 8
Same name and namespace in other branches
- 8.2 src/Form/AssetInjectorEnableForm.php \Drupal\asset_injector\Form\AssetInjectorEnableForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides EntityConfirmFormBase::getDescription
File
- src/
Form/ AssetInjectorEnableForm.php, line 30
Class
- AssetInjectorEnableForm
- Class AssetInjectorEnableForm.
Namespace
Drupal\asset_injector\FormCode
public function getDescription() {
return $this
->t('Enable @type: %label?', [
'@type' => $this->entity
->getEntityType()
->getLabel(),
'%label' => $this->entity
->label(),
]);
}