You are here

public function MediaSubFormManagerInterface::configureSharedFields in Media Bulk Upload 8

Configure all the shared fields.

Will set all the correct parents and make all the fields optional.

Parameters

array $elements: Form elements from the media type form.

array $allowedFields: Fields that are allowed to be shown in the media bulk upload form.

Return value

$this MediaBulkUploadForm.

1 method overrides MediaSubFormManagerInterface::configureSharedFields()
MediaSubFormManager::configureSharedFields in src/MediaSubFormManager.php
Configure all the shared fields.

File

src/MediaSubFormManagerInterface.php, line 105

Class

MediaSubFormManagerInterface
Class MediaSubFormManager.

Namespace

Drupal\media_bulk_upload

Code

public function configureSharedFields(array &$elements, array $allowedFields);