You are here

public function ComponentInterface::getComponentType in Module Builder 8.3

Gets the component type that should be passed to DCB.

Return value

string The component type.

2 methods override ComponentInterface::getComponentType()
ModuleBuilderModule::getComponentType in src/Entity/ModuleBuilderModule.php
Gets the component type that should be passed to DCB.
TestComponent::getComponentType in tests/modules/module_builder_test_component_type/src/Entity/TestComponent.php
Gets the component type that should be passed to DCB.

File

src/Entity/ComponentInterface.php, line 16

Class

ComponentInterface
Interface for entities that represent a component to generate.

Namespace

Drupal\module_builder\Entity

Code

public function getComponentType() : string;