You are here

interface AddToCalTypeInterface in Add to Cal 8

Hierarchy

Expanded class hierarchy of AddToCalTypeInterface

All classes that implement AddToCalTypeInterface

File

src/AddToCalTypeInterface.php, line 10

Namespace

Drupal\addtocal
View source
interface AddToCalTypeInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {

  /**
   * Return the name of the type plugin.
   *
   * @return string
   */
  public function getName();

  /**
   * @param array $eventDetails
   * @return mixed
   */
  public function generateStructure(array $eventDetails);

  /**
   * @param \Drupal\Core\Entity\EntityInterface $entity
   * @param array $settings
   * @param int $delta
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   * @return mixed
   */
  public function downloadSubmit(EntityInterface $entity, array $settings, $delta, FormStateInterface $form_state);

}

Members

Namesort descending Modifiers Type Description Overrides
AddToCalTypeInterface::downloadSubmit public function 3
AddToCalTypeInterface::generateStructure public function 3
AddToCalTypeInterface::getName public function Return the name of the type plugin. 1
ContainerFactoryPluginInterface::create public static function Creates an instance of the plugin. 112
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2