You are here

public function CropTypeInterface::validate in Crop API 8.2

Same name and namespace in other branches
  1. 8 src/CropTypeInterface.php \Drupal\crop\CropTypeInterface::validate()

Validates the currently set values.

Return value

\Symfony\Component\Validator\ConstraintViolationListInterface A list of constraint violations. If the list is empty, validation succeeded.

1 method overrides CropTypeInterface::validate()
CropType::validate in src/Entity/CropType.php
Validates the currently set values.

File

src/CropTypeInterface.php, line 44

Class

CropTypeInterface
Provides an interface defining a crop type entity.

Namespace

Drupal\crop

Code

public function validate();