You are here

public function RealisticDummyContentTermReferenceFieldTest::callbackTermId in Realistic Dummy Content 3.x

Callback: dummy version of ::termId().

File

api/tests/src/Unit/includes/RealisticDummyContentTermReferenceFieldTest.php, line 25

Class

RealisticDummyContentTermReferenceFieldTest
Tests for ...\includes\RealisticDummyContentTermReferenceField.

Namespace

Drupal\Tests\realistic_dummy_content_api\Unit\includes

Code

public function callbackTermId($term) {
  return $term['id'];
}