function SchemaTest::providerComputedConstraintName
Same name in other branches
- 10 core/modules/pgsql/tests/src/Unit/SchemaTest.php \Drupal\Tests\pgsql\Unit\SchemaTest::providerComputedConstraintName()
- 11.x core/modules/pgsql/tests/src/Unit/SchemaTest.php \Drupal\Tests\pgsql\Unit\SchemaTest::providerComputedConstraintName()
Data provider for ::testComputedConstraintName().
File
-
core/
modules/ pgsql/ tests/ src/ Unit/ SchemaTest.php, line 73
Class
- SchemaTest
- @coversDefaultClass \Drupal\pgsql\Driver\Database\pgsql\Schema @group Database
Namespace
Drupal\Tests\pgsql\UnitCode
public function providerComputedConstraintName() {
return [
[
'user_field_data',
'pkey',
'user_field_data____pkey',
],
[
'user_field_data',
'name__key',
'user_field_data__name__key',
],
[
'user_field_data',
'a_very_very_very_very_super_long_field_name__key',
'drupal_WW_a8TlbZ3UQi20UTtRlJFaIeSa6FEtQS5h4NRA3UeU_key',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.