You are here

public static function InsertImageWidget::validateStyles in Insert 8

Parameters

array $element:

\Drupal\Core\Form\FormState $form_state:

See also

InsertFileWidgetUtility::validateStyles

File

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

Class

InsertImageWidget
Plugin implementation of the Insert Image widget. This is just a barebone set of overwritten methods. All actual logic is deferred to \Drupal\insert\Utility\UtilityImage.

Namespace

Drupal\insert\Plugin\Field\FieldWidget

Code

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