function EntityDeleteFormTrait::logger
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::logger()
- 10 core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::logger()
- 11.x 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.
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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.