class FeedTitleConstraint

Supports validating feed titles.

Plugin annotation


@Constraint(
  id = "FeedTitle",
  label = @Translation("Feed title", context = "Validation")
)

Hierarchy

Expanded class hierarchy of FeedTitleConstraint

File

core/modules/aggregator/src/Plugin/Validation/Constraint/FeedTitleConstraint.php, line 15

Namespace

Drupal\aggregator\Plugin\Validation\Constraint
View source
class FeedTitleConstraint extends UniqueFieldConstraint {
  public $message = 'A feed named %value already exists. Enter a unique title.';

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.