You are here

function redirect_entity_info in Redirect 7

Same name and namespace in other branches
  1. 7.2 redirect.module \redirect_entity_info()

Implements hook_entity_info().

File

./redirect.module, line 32

Code

function redirect_entity_info() {
  $info['redirect'] = array(
    'label' => t('Redirect'),
    'base table' => 'redirect',
    'controller class' => 'RedirectController',
    'entity keys' => array(
      'id' => 'rid',
      'bundle' => 'type',
      'language' => 'language',
    ),
    'fieldable' => FALSE,
    'uuid' => FALSE,
    'redirect' => FALSE,
  );
  return $info;
}