abstract protected function EntityDeleteFormTrait::logger in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::logger()
- 9 core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::logger()
Gets the logger for a specific channel.
Provided by \Drupal\Core\Form\FormBase.
Parameters
string $channel: The name of the channel.
Return value
\Psr\Log\LoggerInterface The logger for this channel.
6 calls to EntityDeleteFormTrait::logger()
- ContentEntityDeleteForm::logDeletionMessage in core/
lib/ Drupal/ Core/ Entity/ ContentEntityDeleteForm.php - DeleteForm::logDeletionMessage in core/
modules/ comment/ src/ Form/ DeleteForm.php - EntityDeleteFormTrait::logDeletionMessage in core/
lib/ Drupal/ Core/ Entity/ EntityDeleteFormTrait.php - Logs a message about the deleted entity.
- LanguageDeleteForm::logDeletionMessage in core/
modules/ language/ src/ Form/ LanguageDeleteForm.php - Logs a message about the deleted entity.
- MenuDeleteForm::logDeletionMessage in core/
modules/ menu_ui/ src/ Form/ MenuDeleteForm.php - Logs a message about the deleted entity.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDeleteFormTrait.php, line 41
Class
- EntityDeleteFormTrait
- Provides a trait for an entity deletion form.
Namespace
Drupal\Core\EntityCode
protected abstract function logger($channel);