You are here

public function ModuleBuilderModule::getComponentType in Module Builder 8.3

Gets the component type that should be passed to DCB.

Return value

string The component type.

Overrides ComponentInterface::getComponentType

File

src/Entity/ModuleBuilderModule.php, line 127

Class

ModuleBuilderModule
Defines the module_builder entity.

Namespace

Drupal\module_builder\Entity

Code

public function getComponentType() : string {

  // TODO: move this to the entity annotation when we generalize to other
  // components.
  return 'module';
}