You are here

public function Log::getType in Log entity 8

Gets the log type.

Return value

string The log type.

Overrides LogInterface::getType

1 call to Log::getType()
Log::preSave in src/Entity/Log.php
Acts on an entity before the presave hook is invoked.

File

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

Class

Log
Defines the Log entity.

Namespace

Drupal\log\Entity

Code

public function getType() {
  return $this
    ->bundle();
}