You are here

public function LogInterface::setName in Log entity 2.x

Sets the log name.

Parameters

string $name: The log name.

Return value

\Drupal\log\Entity\LogInterface The log entity.

1 method overrides LogInterface::setName()
Log::setName in src/Entity/Log.php
Sets the log name.

File

src/Entity/LogInterface.php, line 34

Class

LogInterface
Provides an interface for defining Log entities.

Namespace

Drupal\log\Entity

Code

public function setName($name);