You are here

public function LogCategory::getEntityTypeId in Commerce Core 8.2

Gets the entity type ID.

For example, "node" if all log templates in the category are used on content.

Return value

string The entity type id.

Overrides LogCategoryInterface::getEntityTypeId

File

modules/log/src/Plugin/LogCategory/LogCategory.php, line 26

Class

LogCategory

Namespace

Drupal\commerce_log\Plugin\LogCategory

Code

public function getEntityTypeId() {
  return $this->pluginDefinition['entity_type'];
}