function 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
abstract protected function logger($channel);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.