interface LogCategoryInterface in Commerce Core 8.2
Defines the interface for log categories.
Hierarchy
- interface \Drupal\commerce_log\Plugin\LogCategory\LogCategoryInterface
Expanded class hierarchy of LogCategoryInterface
All classes that implement LogCategoryInterface
File
- modules/
log/ src/ Plugin/ LogCategory/ LogCategoryInterface.php, line 8
Namespace
Drupal\commerce_log\Plugin\LogCategoryView source
interface LogCategoryInterface {
/**
* Gets the category ID.
*
* @return string
* The category ID.
*/
public function getId();
/**
* Gets the translated label.
*
* @return string
* The translated label.
*/
public function getLabel();
/**
* Gets the entity type ID.
*
* For example, "node" if all log templates in the category are used on content.
*
* @return string
* The entity type id.
*/
public function getEntityTypeId();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LogCategoryInterface:: |
public | function | Gets the entity type ID. | 1 |
LogCategoryInterface:: |
public | function | Gets the category ID. | 1 |
LogCategoryInterface:: |
public | function | Gets the translated label. | 1 |