You are here

public function InputInterface::validate in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.0.x modules/custom/social_graphql/src/Wrappers/InputInterface.php \Drupal\social_graphql\Wrappers\InputInterface::validate()
  2. 10.1.x modules/custom/social_graphql/src/Wrappers/InputInterface.php \Drupal\social_graphql\Wrappers\InputInterface::validate()
  3. 10.2.x modules/custom/social_graphql/src/Wrappers/InputInterface.php \Drupal\social_graphql\Wrappers\InputInterface::validate()

Validates the input.

Must be called after setValues but before any data is accessed.

Return value

bool Whether the validation was successful.

File

modules/custom/social_graphql/src/Wrappers/InputInterface.php, line 28

Class

InputInterface
Provides an interface for input types.

Namespace

Drupal\social_graphql\Wrappers

Code

public function validate() : bool;