You are here

public function MediaSubFormManagerInterface::buildMediaSubForm in Media Bulk Upload 8

Get media entity form fields that are available in all given $mediaForms.

Parameters

array $form: Render array containing the form elements.

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

\Drupal\media_bulk_upload\Entity\MediaBulkConfigInterface $mediaBulkConfig: The media bulk config entity.

Return value

$this MediaSubFormManager.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

1 method overrides MediaSubFormManagerInterface::buildMediaSubForm()
MediaSubFormManager::buildMediaSubForm in src/MediaSubFormManager.php

File

src/MediaSubFormManagerInterface.php, line 50

Class

MediaSubFormManagerInterface
Class MediaSubFormManager.

Namespace

Drupal\media_bulk_upload

Code

public function buildMediaSubForm(array &$form, FormStateInterface $form_state, MediaBulkConfigInterface $mediaBulkConfig);