You are here

abstract protected function EntityDeleteFormTrait::logger in Drupal 8

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