You are here

public function BrightcoveTextTrackForm::buildForm in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Form/BrightcoveTextTrackForm.php \Drupal\brightcove\Form\BrightcoveTextTrackForm::buildForm()
  2. 3.x src/Form/BrightcoveTextTrackForm.php \Drupal\brightcove\Form\BrightcoveTextTrackForm::buildForm()

Form constructor.

Parameters

array $form: An associative array containing the structure of the form.

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

Return value

array The form structure.

Overrides EntityForm::buildForm

File

src/Form/BrightcoveTextTrackForm.php, line 18

Class

BrightcoveTextTrackForm
Form controller for Brightcove Text Track edit forms.

Namespace

Drupal\brightcove\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  /* @var $entity \Drupal\brightcove\Entity\BrightcoveTextTrack */
  $form = parent::buildForm($form, $form_state);
  return $form;
}