1 views_test_entity.module views_test_entity_entity_info()

Implements hook_entity_info().

File

core/modules/views/tests/views_test_entity/views_test_entity.module, line 10
Helper module for Views Bulk Form tests.

Code

function views_test_entity_entity_info() {
  $return = array(
    'views_test' => array(
      'label' => t('Bulk test entity'),
      'entity class' => 'BulkTestEntity',
      'controller class' => 'EntityDatabaseStorageController',
      'base table' => 'views_test',
      'fieldable' => FALSE,
      'entity keys' => array(
        'id' => 'id',
      ),
    ),
  );
  return $return;
}