You are here

public function Log::getName in Log entity 8

Same name and namespace in other branches
  1. 2.x src/Entity/Log.php \Drupal\log\Entity\Log::getName()

Gets the log name.

Return value

string The log name.

Overrides LogInterface::getName

File

src/Entity/Log.php, line 119
Contains \Drupal\log\Entity\Log.

Class

Log
Defines the Log entity.

Namespace

Drupal\log\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}