function EntityDeleteFormTrait::logger

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::logger()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::logger()
  3. 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\Entity

Code

protected abstract function logger($channel);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.