You are here

interface LogCategoryManagerInterface in Commerce Core 8.2

Defines the interface for commerce_log_category plugin managers.

Hierarchy

Expanded class hierarchy of LogCategoryManagerInterface

All classes that implement LogCategoryManagerInterface

File

modules/log/src/LogCategoryManagerInterface.php, line 10

Namespace

Drupal\commerce_log
View source
interface LogCategoryManagerInterface extends PluginManagerInterface {

  /**
   * Gets the definitions filtered by entity type.
   *
   * @param string $entity_type_id
   *   The entity type ID.
   *
   * @return array
   *   The definitions.
   */
  public function getDefinitionsByEntityType($entity_type_id = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 7
LogCategoryManagerInterface::getDefinitionsByEntityType public function Gets the definitions filtered by entity type. 1
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4