You are here

public function TestOverride::buildFieldDefinitions in farmOS 2.x

Overrides Test::buildFieldDefinitions

File

modules/core/entity/tests/modules/farm_entity_test/src/Plugin/Log/LogType/TestOverride.php, line 18

Class

TestOverride
Provides the test_override log type.

Namespace

Drupal\farm_entity_test\Plugin\Log\LogType

Code

public function buildFieldDefinitions() {

  // We are inheriting from the Test log type, which adds a bundle field. We
  // are going to return an empty array to show that we can disable those
  // default fields on specific log types.
  return [];
}