You are here

public static function InsertFileWidget::validateStyles in Insert 8

Parameters

array $element:

\Drupal\Core\Form\FormState $form_state:

See also

InsertFileWidgetUtility::validateStyles

File

src/Plugin/Field/FieldWidget/InsertFileWidget.php, line 63

Class

InsertFileWidget
Plugin implementation of the Insert File widget. This is just a barebone set of overwritten methods. All actual logic is deferred to \Drupal\insert\Utility\Utility as that may be overwritten in other Insert widgets covering other field types.

Namespace

Drupal\insert\Plugin\Field\FieldWidget

Code

public static function validateStyles($element, &$form_state) {
  self::util()
    ->validateStyles($element, $form_state);
}