You are here

public function FieldValidationRuleInterface::getDerivativeExtension in Field Validation 8

Returns the extension the derivative would have have after adding this field_validation_rule.

Parameters

string $extension: The field_validation_rule extension the derivative has before adding.

Return value

string The field_validation_rule extension after adding.

1 method overrides FieldValidationRuleInterface::getDerivativeExtension()
FieldValidationRuleBase::getDerivativeExtension in src/FieldValidationRuleBase.php
Returns the extension the derivative would have have after adding this field_validation_rule.

File

src/FieldValidationRuleInterface.php, line 44

Class

FieldValidationRuleInterface
Defines the interface for Field Validation.

Namespace

Drupal\field_validation

Code

public function getDerivativeExtension($extension);