MediaSource::$forms

Same name in other branches
  1. 8.9.x core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::forms
  2. 10 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::forms
  3. 11.x core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::forms

The classes used to define media source-specific forms.

An array of form class names, keyed by ID. The ID represents the operation the form is used for.

Type: string[]

File

core/modules/media/src/Annotation/MediaSource.php, line 68

Class

MediaSource
Defines a media source plugin annotation object.

Namespace

Drupal\media\Annotation

Code

public $forms = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.