You are here

function amp_entity_info_alter in Accelerated Mobile Pages (AMP) 7

Implements hook_entity_info_alter().

File

./amp.module, line 274

Code

function amp_entity_info_alter(&$entity_info) {
  $entity_info['node']['view modes']['amp'] = array(
    'label' => t('AMP'),
    'custom settings' => FALSE,
  );
}