public static function PropertyTypeInterface::validateProperty in Schema.org Metatag 8.2
Validates the property form when submitted.
Optional per-property type validation of form values.
Parameters
array $element: The form element to process.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
1 method overrides PropertyTypeInterface::validateProperty()
- PropertyTypeBase::validateProperty in src/
Plugin/ schema_metatag/ PropertyTypeBase.php - Validates the property form when submitted.
File
- src/
Plugin/ schema_metatag/ PropertyTypeInterface.php, line 187
Class
- PropertyTypeInterface
- Defines an interface for property type plugins.
Namespace
Drupal\schema_metatag\Plugin\schema_metatagCode
public static function validateProperty(array &$element, FormStateInterface $form_state);