interface RepositoryHandlerManagerInterface in Workspace 8.2
Provides the interface for a plugin manager of repository handlers.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Component\Plugin\CategorizingPluginManagerInterface
- interface \Drupal\workspace\RepositoryHandlerManagerInterface
- interface \Drupal\Component\Plugin\CategorizingPluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of RepositoryHandlerManagerInterface
All classes that implement RepositoryHandlerManagerInterface
File
- src/
RepositoryHandlerManagerInterface.php, line 10
Namespace
Drupal\workspaceView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CategorizingPluginManagerInterface:: |
public | function | Gets the names of all categories. | 1 |
CategorizingPluginManagerInterface:: |
public | function | Gets sorted plugin definitions grouped by category. | 1 |
CategorizingPluginManagerInterface:: |
public | function | Gets sorted plugin definitions. | 2 |
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |
RepositoryHandlerManagerInterface:: |
public | function | Creates a repository handler instance from a given workspace entity. | 1 |