You are here

public function Log::getName in Log entity 2.x

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

Gets the log name.

Return value

string The log name.

Overrides LogInterface::getName

1 call to Log::getName()
Log::label in src/Entity/Log.php
Gets the label of the entity.

File

src/Entity/Log.php, line 104

Class

Log
Defines the Log entity.

Namespace

Drupal\log\Entity

Code

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