LogCategory.php in Commerce Core 8.2
Namespace
Drupal\commerce_log\Plugin\LogCategoryFile
modules/log/src/Plugin/LogCategory/LogCategory.phpView source
<?php
namespace Drupal\commerce_log\Plugin\LogCategory;
use Drupal\Core\Plugin\PluginBase;
class LogCategory extends PluginBase implements LogCategoryInterface {
/**
* {@inheritdoc}
*/
public function getId() {
return $this->pluginDefinition['id'];
}
/**
* {@inheritdoc}
*/
public function getLabel() {
return $this->pluginDefinition['label'];
}
/**
* {@inheritdoc}
*/
public function getEntityTypeId() {
return $this->pluginDefinition['entity_type'];
}
}
Classes
Name | Description |
---|---|
LogCategory |