function LinkAccessConstraintValidatorTest::providerValidate
Data provider for LinkAccessConstraintValidator::validate().
Return value
array An array of tests, matching the parameter inputs for testValidate.
See also
\Drupal\Tests\link\LinkAccessConstraintValidatorTest::validate()
File
- 
              core/modules/ link/ tests/ src/ Unit/ Plugin/ Validation/ Constraint/ LinkAccessConstraintValidatorTest.php, line 79 
Class
- LinkAccessConstraintValidatorTest
- Tests the LinkAccessConstraintValidator validator.
Namespace
Drupal\Tests\link\Unit\Plugin\Validation\ConstraintCode
public static function providerValidate() : \Generator {
  yield [
    TRUE,
    TRUE,
    TRUE,
  ];
  yield [
    TRUE,
    FALSE,
    TRUE,
  ];
  yield [
    FALSE,
    TRUE,
    TRUE,
  ];
  yield [
    FALSE,
    FALSE,
    FALSE,
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
