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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.