You are here

public static function FilefieldSourceInterface::process in FileField Sources 8

Process callback for file field source plugin.

Parameters

array $element: An associative array containing the properties and children of the generic input element.

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

array $complete_form: The complete form structure.

Return value

array The processed element.

5 methods override FilefieldSourceInterface::process()
Attach::process in src/Plugin/FilefieldSource/Attach.php
Process callback for file field source plugin.
Clipboard::process in src/Plugin/FilefieldSource/Clipboard.php
Process callback for file field source plugin.
Imce::process in src/Plugin/FilefieldSource/Imce.php
Process callback for file field source plugin.
Reference::process in src/Plugin/FilefieldSource/Reference.php
Process callback for file field source plugin.
Remote::process in src/Plugin/FilefieldSource/Remote.php
Process callback for file field source plugin.

File

src/FilefieldSourceInterface.php, line 48

Class

FilefieldSourceInterface
Provides an interface for file field source plugins.

Namespace

Drupal\filefield_sources

Code

public static function process(array &$element, FormStateInterface $form_state, array &$complete_form);