function PathFieldDefinitionTest::testGetColumns

Same name and namespace in other branches
  1. 11.x core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::testGetColumns()
  2. 10 core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::testGetColumns()
  3. 9 core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::testGetColumns()
  4. 8.9.x core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::testGetColumns()

Tests get columns.

@legacy-covers ::getColumns @legacy-covers ::getSchema

File

core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php, line 39

Class

PathFieldDefinitionTest
Tests Drupal\Core\Field\BaseFieldDefinition.

Namespace

Drupal\Tests\path\Unit\Field

Code

public function testGetColumns() : void {
  $this->assertSame([], $this->definition
    ->getColumns());
}

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