You are here

interface YamlFormThirdPartySettingsManagerInterface in YAML Form 8

Defines an interface for form third party settings manager classes.

Hierarchy

Expanded class hierarchy of YamlFormThirdPartySettingsManagerInterface

All classes that implement YamlFormThirdPartySettingsManagerInterface

1 file declares its use of YamlFormThirdPartySettingsManagerInterface
YamlFormAdminThirdPartySettingsForm.php in src/Form/YamlFormAdminThirdPartySettingsForm.php

File

src/YamlFormThirdPartySettingsManagerInterface.php, line 11

Namespace

Drupal\yamlform
View source
interface YamlFormThirdPartySettingsManagerInterface extends ThirdPartySettingsInterface {

  /**
   * Wrapper for \Drupal\Core\Extension\ModuleHandlerInterface::alter.
   *
   * Loads all form third party settings before execute alter hooks.
   *
   * @see \Drupal\yamlform\YamlFormThirdPartySettingsManager::__construct
   */
  public function alter($type, &$data, &$context1 = NULL, &$context2 = NULL);

  /**
   * Third party settings form constructor.
   *
   * @param array $form
   *   An associative array containing the structure of the form.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the form.
   *
   * @return array
   *   The form structure.
   */
  public function buildForm(array $form, FormStateInterface $form_state);

  /**
   * Form element #after_build callback: Checks for 'third_party_settings'.
   *
   * @param array $form
   *   An associative array containing the structure of the form.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the form.
   *
   * @return array
   *   The form structure.
   */
  public function afterBuild(array $form, FormStateInterface $form_state);

}

Members

Namesort descending Modifiers Type Description Overrides
ThirdPartySettingsInterface::getThirdPartyProviders public function Gets the list of third parties that store information. 5
ThirdPartySettingsInterface::getThirdPartySetting public function Gets the value of a third-party setting. 5
ThirdPartySettingsInterface::getThirdPartySettings public function Gets all third-party settings of a given module. 5
ThirdPartySettingsInterface::setThirdPartySetting public function Sets the value of a third-party setting. 5
ThirdPartySettingsInterface::unsetThirdPartySetting public function Unsets a third-party setting. 5
YamlFormThirdPartySettingsManagerInterface::afterBuild public function Form element #after_build callback: Checks for 'third_party_settings'. 1
YamlFormThirdPartySettingsManagerInterface::alter public function Wrapper for \Drupal\Core\Extension\ModuleHandlerInterface::alter. 1
YamlFormThirdPartySettingsManagerInterface::buildForm public function Third party settings form constructor. 1