You are here

interface YamlFormUiElementFormInterface in YAML Form 8

Provides an interface for form element form.

Hierarchy

Expanded class hierarchy of YamlFormUiElementFormInterface

All classes that implement YamlFormUiElementFormInterface

File

modules/yamlform_ui/src/Form/YamlFormUiElementFormInterface.php, line 11

Namespace

Drupal\yamlform_ui\Form
View source
interface YamlFormUiElementFormInterface extends FormInterface, ContainerInjectionInterface {

  /**
   * Is new element.
   *
   * @return bool
   *   TRUE if this form generating a new element.
   */
  public function isNew();

  /**
   * Return the form associated with this form.
   *
   * @return \Drupal\yamlform\YamlFormInterface
   *   A form
   */
  public function getYamlForm();

  /**
   * Return the form element associated with this form.
   *
   * @return \Drupal\yamlform\YamlFormElementInterface
   *   A form element.
   */
  public function getYamlFormElement();

}

Members

Namesort descending Modifiers Type Description Overrides
ContainerInjectionInterface::create public static function Instantiates a new instance of this class. 70
FormInterface::buildForm public function Form constructor. 179
FormInterface::getFormId public function Returns a unique string identifying the form. 236
FormInterface::submitForm public function Form submission handler. 192
FormInterface::validateForm public function Form validation handler. 30
YamlFormUiElementFormInterface::getYamlForm public function Return the form associated with this form. 1
YamlFormUiElementFormInterface::getYamlFormElement public function Return the form element associated with this form. 1
YamlFormUiElementFormInterface::isNew public function Is new element. 1