You are here

LogCategoryManagerInterface.php in Commerce Core 8.2

File

modules/log/src/LogCategoryManagerInterface.php
View source
<?php

namespace Drupal\commerce_log;

use Drupal\Component\Plugin\PluginManagerInterface;

/**
 * Defines the interface for commerce_log_category plugin managers.
 */
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);

}

Interfaces

Namesort descending Description
LogCategoryManagerInterface Defines the interface for commerce_log_category plugin managers.