You are here

public function CvValidatorBase::getName in Clientside Validation 8

Same name and namespace in other branches
  1. 8.2 src/CvValidatorBase.php \Drupal\clientside_validation\CvValidatorBase::getName()
  2. 3.0.x src/CvValidatorBase.php \Drupal\clientside_validation\CvValidatorBase::getName()
  3. 2.0.x src/CvValidatorBase.php \Drupal\clientside_validation\CvValidatorBase::getName()

Return the name of the validator flavor.

Return value

string The name of the validator.

Overrides CvValidatorInterface::getName

File

src/CvValidatorBase.php, line 22

Class

CvValidatorBase
Class CvValidatorBase.

Namespace

Drupal\clientside_validation

Code

public function getName() {
  return $this->pluginDefinition['name'];
}