You are here

interface ConfigFilterManagerInterface in Config Filter 8

Same name and namespace in other branches
  1. 8.2 src/ConfigFilterManagerInterface.php \Drupal\config_filter\ConfigFilterManagerInterface

Interface for a ConfigFilterManager.

Hierarchy

Expanded class hierarchy of ConfigFilterManagerInterface

All classes that implement ConfigFilterManagerInterface

1 file declares its use of ConfigFilterManagerInterface
ConfigFilterPluginManager.php in src/Plugin/ConfigFilterPluginManager.php

File

src/ConfigFilterManagerInterface.php, line 8

Namespace

Drupal\config_filter
View source
interface ConfigFilterManagerInterface {

  /**
   * Get the applicable filters for given storage names.
   *
   * @param string[] $storage_names
   *   The names of the storage plugins apply to.
   * @param string[] $excluded
   *   The ids of filters to exclude.
   *
   * @return \Drupal\config_filter\Config\StorageFilterInterface[]
   *   The configured filter instances, keyed by filter id.
   */
  public function getFiltersForStorages(array $storage_names, array $excluded = []);

  /**
   * Get a configured filter instance by (plugin) id.
   *
   * @param string $id
   *   The plugin id of the filter to load.
   *
   * @return \Drupal\config_filter\Config\StorageFilterInterface|null
   *   The ConfigFilter.
   */
  public function getFilterInstance($id);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigFilterManagerInterface::getFilterInstance public function Get a configured filter instance by (plugin) id. 1
ConfigFilterManagerInterface::getFiltersForStorages public function Get the applicable filters for given storage names. 1