You are here

interface ComponentInterface in Module Builder 8.3

Interface for entities that represent a component to generate.

Hierarchy

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\Entity
View source
interface ComponentInterface {

  /**
   * Gets the component type that should be passed to DCB.
   *
   * @return string
   *   The component type.
   */
  public function getComponentType() : string;

}

Members

Namesort descending Modifiers Type Description Overrides
ComponentInterface::getComponentType public function Gets the component type that should be passed to DCB. 2