public function Log::getName in Log entity 2.x
Same name and namespace in other branches
- 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\EntityCode
public function getName() {
return $this
->get('name')->value;
}