function UriItemTest::providerMaxLength
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/Field/UriItemTest.php \Drupal\Tests\Core\Field\UriItemTest::providerMaxLength()
Data provider for maximum-lengths.
Return value
array Test cases.
File
-
core/
tests/ Drupal/ Tests/ Core/ Field/ UriItemTest.php, line 45
Class
- UriItemTest
- Defines a test for the UriItem field-type.
Namespace
Drupal\Tests\Core\FieldCode
public static function providerMaxLength() : array {
return [
'32' => [
32,
],
'255' => [
255,
],
'500' => [
500,
],
'15' => [
15,
],
'64' => [
64,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.