You are here

interface RepositoryHandlerManagerInterface in Workspace 8.2

Provides the interface for a plugin manager of repository handlers.

Hierarchy

Expanded class hierarchy of RepositoryHandlerManagerInterface

All classes that implement RepositoryHandlerManagerInterface

File

src/RepositoryHandlerManagerInterface.php, line 10

Namespace

Drupal\workspace
View source
interface RepositoryHandlerManagerInterface extends CategorizingPluginManagerInterface {

  /**
   * Creates a repository handler instance from a given workspace entity.
   *
   * @param \Drupal\workspace\WorkspaceInterface $workspace
   *   A workspace entity.
   *
   * @return \Drupal\workspace\RepositoryHandlerInterface
   *   A repository handler plugin.
   */
  public function createFromWorkspace(WorkspaceInterface $workspace);

}

Members

Namesort descending Modifiers Type Description Overrides
CategorizingPluginManagerInterface::getCategories public function Gets the names of all categories. 1
CategorizingPluginManagerInterface::getGroupedDefinitions public function Gets sorted plugin definitions grouped by category. 1
CategorizingPluginManagerInterface::getSortedDefinitions public function Gets sorted plugin definitions. 2
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
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4
RepositoryHandlerManagerInterface::createFromWorkspace public function Creates a repository handler instance from a given workspace entity. 1