You are here

interface SourcePluginUiInterface in Translation Management Tool 8

Interface for source ui controllers.

Hierarchy

Expanded class hierarchy of SourcePluginUiInterface

All classes that implement SourcePluginUiInterface

Related topics

File

src/SourcePluginUiInterface.php, line 14

Namespace

Drupal\tmgmt
View source
interface SourcePluginUiInterface extends PluginInspectionInterface {

  /**
   * Form callback for the job item review form.
   */
  public function reviewForm(array $form, FormStateInterface $form_state, JobItemInterface $item);

  /**
   * Form callback for the data item element form.
   */
  public function reviewDataItemElement(array $form, FormStateInterface $form_state, $data_item_key, $parent_key, array $data_item, JobItemInterface $item);

  /**
   * Validation callback for the job item review form.
   */
  public function reviewFormValidate(array $form, FormStateInterface $form_state, JobItemInterface $item);

  /**
   * Submit callback for the job item review form.
   */
  public function reviewFormSubmit(array $form, FormStateInterface $form_state, JobItemInterface $item);

  /**
   * {@inheritdoc}
   *
   * @see tmgmt_views_default_views().
   */
  public function hook_views_default_views();

}

Members

Namesort descending Modifiers Type Description Overrides
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
SourcePluginUiInterface::hook_views_default_views public function 1
SourcePluginUiInterface::reviewDataItemElement public function Form callback for the data item element form. 1
SourcePluginUiInterface::reviewForm public function Form callback for the job item review form. 1
SourcePluginUiInterface::reviewFormSubmit public function Submit callback for the job item review form. 1
SourcePluginUiInterface::reviewFormValidate public function Validation callback for the job item review form. 1