interface ComponentInterface in Module Builder 8.3
Interface for entities that represent a component to generate.
Hierarchy
- interface \Drupal\module_builder\Entity\ComponentInterface
Expanded class hierarchy of ComponentInterface
All classes that implement ComponentInterface
1 file declares its use of ComponentInterface
- TestComponent.php in tests/
modules/ module_builder_test_component_type/ src/ Entity/ TestComponent.php
File
- src/
Entity/ ComponentInterface.php, line 8
Namespace
Drupal\module_builder\EntityView source
interface ComponentInterface {
/**
* Gets the component type that should be passed to DCB.
*
* @return string
* The component type.
*/
public function getComponentType() : string;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ComponentInterface:: |
public | function | Gets the component type that should be passed to DCB. | 2 |