You are here

public static function PlatformInterface::validateValue in Social Media Links Block and Field 8.2

Validates the user input of a platform before the value is saved.

Return value

mixed The result of the validation.

1 method overrides PlatformInterface::validateValue()
PlatformBase::validateValue in src/PlatformBase.php
Validates the user input of a platform before the value is saved.

File

src/PlatformInterface.php, line 118

Class

PlatformInterface
Defines an interface for social media links platform plugins.

Namespace

Drupal\social_media_links

Code

public static function validateValue(array &$element, FormStateInterface $form_state, array $form);