You are here

ComponentInterface.php in Module Builder 8.3

File

src/Entity/ComponentInterface.php
View source
<?php

namespace Drupal\module_builder\Entity;


/**
 * Interface for entities that represent a component to generate.
 */
interface ComponentInterface {

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

}

Interfaces

Namesort descending Description
ComponentInterface Interface for entities that represent a component to generate.