function EntityFieldTest::testIntrospection

Tests introspection and getting metadata upfront.

File

core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php, line 407

Class

EntityFieldTest
Tests the Entity Field API.

Namespace

Drupal\KernelTests\Core\Entity

Code

public function testIntrospection() {
  // All entity variations have to have the same results.
  foreach (entity_test_entity_types() as $entity_type) {
    $this->doTestIntrospection($entity_type);
  }
}

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