You are here

public function LogType::getNamePattern in Log entity 2.x

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

Returns the name pattern for a log type.

Return value

string The log type name pattern.

Overrides LogTypeInterface::getNamePattern

File

src/Entity/LogType.php, line 118

Class

LogType
Defines the Log type entity.

Namespace

Drupal\log\Entity

Code

public function getNamePattern() {
  return $this->name_pattern;
}