public function EntityTestMulStorageController::baseFieldDefinitions

Overrides \Drupal\entity_test\EntityTestStorageController::baseFieldDefinitions().

Overrides EntityTestStorageController::baseFieldDefinitions

File

drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestMulStorageController.php, line 24
Definition of Drupal\entity_test\EntityTestMulStorageController.

Class

EntityTestMulStorageController
Defines the controller class for the test entity.

Namespace

Drupal\entity_test

Code

public function baseFieldDefinitions() {
  $fields = parent::baseFieldDefinitions();
  $fields['default_langcode'] = array(
    'label' => t('Default language'),
    'description' => t('Flag to indicate whether this is the default language.'),
    'type' => 'boolean_field',
  );
  return $fields;
}