function PathFieldDefinitionTest::testGetColumns

Same name in other branches
  1. 9 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. 11.x core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::testGetColumns()

@covers ::getColumns @covers ::getSchema

File

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

Class

PathFieldDefinitionTest
@coversDefaultClass \Drupal\Core\Field\BaseFieldDefinition @group path

Namespace

Drupal\Tests\path\Unit\Field

Code

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

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