You are here

interface FormEntryInterface in Flag 8.4

Indicates the action link makes use of form entry for flagging operations.

Hierarchy

Expanded class hierarchy of FormEntryInterface

All classes that implement FormEntryInterface

4 files declare their use of FormEntryInterface
FlagConfirmForm.php in src/Form/FlagConfirmForm.php
FlaggingForm.php in src/Form/FlaggingForm.php
UnflagConfirmForm.php in src/Form/UnflagConfirmForm.php
UnflaggingForm.php in src/Form/UnflaggingForm.php

File

src/Plugin/ActionLink/FormEntryInterface.php, line 8

Namespace

Drupal\flag\Plugin\ActionLink
View source
interface FormEntryInterface {

  /**
   * Returns the flag confirm form question when flagging.
   *
   * @return string
   *   A string containing the flag question to display.
   */
  public function getFlagQuestion();

  /**
   * Returns the edit flagging details form title.
   *
   * @return string
   *   A string containing the edit flagging details title to display.
   */
  public function getEditFlaggingTitle();

  /**
   * Returns the flag confirm form question when unflagging.
   *
   * @return string
   *   A string containing the unflag question to display.
   */
  public function getUnflagQuestion();

  /**
   * Returns the create button text.
   *
   * @return string
   *   The string stored in configuration.
   */
  public function getCreateButtonText();

  /**
   * Returns the delete button text.
   *
   * @return string
   *   The string stored in configuration.
   */
  public function getDeleteButtonText();

  /**
   * Returns the update button text.
   *
   * @return string
   *   The string stored in configuration.
   */
  public function getUpdateButtonText();

}

Members

Namesort descending Modifiers Type Description Overrides
FormEntryInterface::getCreateButtonText public function Returns the create button text. 1
FormEntryInterface::getDeleteButtonText public function Returns the delete button text. 1
FormEntryInterface::getEditFlaggingTitle public function Returns the edit flagging details form title. 1
FormEntryInterface::getFlagQuestion public function Returns the flag confirm form question when flagging. 1
FormEntryInterface::getUnflagQuestion public function Returns the flag confirm form question when unflagging. 1
FormEntryInterface::getUpdateButtonText public function Returns the update button text. 1