function accessibility_entity_info

cis7 accessibility.module accessibility_entity_info()
cle7 accessibility.module accessibility_entity_info()
elmsmedia7 accessibility.module accessibility_entity_info()
icor7 accessibility.module accessibility_entity_info()
meedjum_blog7 accessibility.module accessibility_entity_info()
mooc7 accessibility.module accessibility_entity_info()

Implements hook_entity_info().

File

sites/all/modules/ulmus/accessibility/accessibility.module, line 59

Code

function accessibility_entity_info() {
  $entities['accessibility_test'] = array(
    'label' => t('Accessibility Test'),
    'controller class' => 'AccessibilityTestController',
    'base table' => 'accessibility_test',
    'uri callback' => 'accessibility_test_uri',
    'fieldable' => TRUE,
    'entity keys' => array(
      'id' => 'test_id',
    ),
    'static cache' => TRUE,
    'bundles' => array(
      'accessibility_test' => array(
        'label' => 'accessibility_test',
        'admin' => array(
          'path' => 'admin/config/accessibility/tests',
          'access arguments' => array('administer accessibility tests'),
        ),
      ),
    ),
    'view modes' => array(
      'full' => array(
        'label' => t('Full test'),
        'custom settings' => FALSE,
      ),
      'popup' => array(
        'label' => t('Test message'),
        'custom settings' => FALSE,
      ),
    ),
  );

  return $entities;
}