You are here

public function GenericFrontendEnvironment::getAdditionalDeployFormElements in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/FrontendEnvironment/GenericFrontendEnvironment.php \Drupal\build_hooks\Plugin\FrontendEnvironment\GenericFrontendEnvironment::getAdditionalDeployFormElements()

Allows the plugin to add elements to the deployment form.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: The current form state.

Return value

array A form array to add to the deployment form.

Overrides FrontendEnvironmentInterface::getAdditionalDeployFormElements

File

src/Plugin/FrontendEnvironment/GenericFrontendEnvironment.php, line 64

Class

GenericFrontendEnvironment
Provides a 'Generic' frontend environment type.

Namespace

Drupal\build_hooks\Plugin\FrontendEnvironment

Code

public function getAdditionalDeployFormElements(FormStateInterface $form_state) {

  // No additional form elements for the deploy form for this type of plugin.
  return [];
}