You are here

interface WebformTranslationConfigManagerInterface in Webform 6.x

Defines an interface for webform config translation classes.

Hierarchy

Expanded class hierarchy of WebformTranslationConfigManagerInterface

All classes that implement WebformTranslationConfigManagerInterface

File

src/WebformTranslationConfigManagerInterface.php, line 10

Namespace

Drupal\webform
View source
interface WebformTranslationConfigManagerInterface {

  /**
   * Alter config translation form.
   *
   * @param $form
   *   Nested array of form elements that comprise the form.
   * @param $form_state
   *   The current state of the form.
   */
  public function alterForm(&$form, FormStateInterface $form_state);

  /**
   * Validate the webform config translation form.
   *
   * @param $form
   *   Nested array of form elements that comprise the form.
   * @param $form_state
   *   The current state of the form.
   */
  public static function validateWebformForm(&$form, FormStateInterface $form_state);

}

Members

Namesort descending Modifiers Type Description Overrides
WebformTranslationConfigManagerInterface::alterForm public function Alter config translation form. 1
WebformTranslationConfigManagerInterface::validateWebformForm public static function Validate the webform config translation form. 1