interface WebformSourceEntityManagerInterface in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformSourceEntityManagerInterface.php \Drupal\webform\Plugin\WebformSourceEntityManagerInterface
Interface of webform source entity plugin manager.
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\webform\Plugin\WebformSourceEntityManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of WebformSourceEntityManagerInterface
All classes that implement WebformSourceEntityManagerInterface
2 files declare their use of WebformSourceEntityManagerInterface
File
- src/
Plugin/ WebformSourceEntityManagerInterface.php, line 10
Namespace
Drupal\webform\PluginView source
interface WebformSourceEntityManagerInterface extends PluginManagerInterface {
/**
* Detect and return a source entity from current context.
*
* @param string|string[] $ignored_types
* Entity types that may not be used as a source entity.
*
* @return \Drupal\Core\Entity\EntityInterface|null
* Source entity or NULL when no source entity is found.
*/
public function getSourceEntity($ignored_types = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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. | 1 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 6 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 3 |
WebformSourceEntityManagerInterface:: |
public | function | Detect and return a source entity from current context. | 1 |