You are here

Functions in Accelerated Mobile Pages (AMP) 7

Primary tabs

Namesort descending Location Description Direct uses Strings
amp_add_component_libraries ./amp.module Given an array of components e.g. amp-iframe, add these components to head. 2
amp_admin_form ./amp.admin.inc Form constructor for the AMP administration form. 1
amp_admin_form_submit ./amp.admin.inc Submit handler for the amp_admin_form Clears the Drupal cache if the AMP Library warnings display checkbox value is changed 1
amp_admin_form_validate ./amp.admin.inc Form validation handler for amp_admin_form().
amp_admin_metadata_form ./amp.admin.inc Form constructor for the AMP metadata form. 1
amp_admin_metadata_form_submit ./amp.admin.inc Submit handler for the amp_admin_metadata_form. Sets the logo file to permanent. 1
amp_adsense_block_view_alter modules/amp_adsense/amp_adsense.module Implements hook_block_view_alter().
amp_adsense_preprocess_amp_ad modules/amp_adsense/amp_adsense.module Implements hook_preprocess_amp_ad().
amp_adsense_theme modules/amp_adsense/amp_adsense.module Implements hook_theme().
amp_analytics_admin_form modules/amp_analytics/amp_analytics.admin.inc Form constructor for the AMP analytics form. 1
amp_analytics_admin_form_validate modules/amp_analytics/amp_analytics.admin.inc Form validation handler for amp_admin_form().
amp_analytics_element_info modules/amp_analytics/amp_analytics.module Implements hook_element_info().
amp_analytics_menu modules/amp_analytics/amp_analytics.module Implements hook_menu().
amp_analytics_page_alter modules/amp_analytics/amp_analytics.module Implements hook_page_alter().
amp_analytics_preprocess_amp_analytics modules/amp_analytics/amp_analytics.module Implements hook_preprocess_amp_analytics().
amp_analytics_process_amp_analytics modules/amp_analytics/amp_analytics.module Implements hook_process_amp_analytics().
amp_analytics_theme modules/amp_analytics/amp_analytics.module Implements hook_theme().
amp_analytics_uninstall modules/amp_analytics/amp_analytics.module Implements hook_uninstall().
amp_block_configure ./amp.module Implements hook_block_configure().
amp_block_info ./amp.module Implements hook_block_info().
amp_block_save ./amp.module Implements hook_block_save().
amp_block_view ./amp.module Implements hook_block_view().
amp_clear_cache ./amp.module Clear cache with id $id 2
amp_context_context_load_alter modules/amp_context/amp_context.module Implements hook_context_load_alter().
amp_context_context_page_condition modules/amp_context/amp_context.module Implements hook_context_page_condition().
amp_context_context_plugins modules/amp_context/amp_context.module Implements hook_context_plugins().
amp_context_context_registry modules/amp_context/amp_context.module Implements hook_context_registry().
amp_context_form_amp_admin_form_alter modules/amp_context/amp_context.module Implements hook_form_id_alter().
amp_ctools_plugin_directory ./amp.module Implementation of hook_ctools_plugin_directory().
amp_ctools_render_alter ./amp.module Implements hook_ctools_render_alter().
amp_custom_theme ./amp.module Implements hook_custom_theme().
amp_db_disable_amp includes/amp.db.inc Set a node as AMP disabled. 1
amp_db_enable_amp includes/amp.db.inc Set a node as AMP enabled. 1
amp_db_is_node_enabled includes/amp.db.inc Return TRUE if the node has amp enabled. 2
amp_db_remove includes/amp.db.inc Remove a given node from AMP. 2
amp_deliver_html_page ./amp.module Processes the Full Page HTML through the AMP PHP Library if enabled on the AMP Configuration 1
amp_dfp_block_view_alter modules/amp_dfp/amp_dfp.module Implements hook_block_view_alter().
amp_dfp_ctools_export_ui_edit_item_form_submit modules/amp_dfp/amp_dfp.module Submit handler so the amp size gets saved to the database. 1
amp_dfp_ctools_export_ui_edit_item_form_validate modules/amp_dfp/amp_dfp.module Validation handler to check the format of anything entered into the AMP Size field. 1
amp_dfp_form_ctools_export_ui_edit_item_form_alter modules/amp_dfp/amp_dfp.module Implements hook_form_FORM_ID_alter(). Add an AMP Size option to the DFP tag configuration page.
amp_dfp_preprocess_amp_dfp_tag modules/amp_dfp/amp_dfp.module Implements hook_preprocess_amp_dfp_tag().
amp_dfp_requirements modules/amp_dfp/amp_dfp.install Implements requirements().
amp_dfp_tag modules/amp_dfp/amp_dfp.module AMP wrapper for the dfp_tag function, setting the #theme key to amp_dfp_tag. 1
amp_dfp_theme modules/amp_dfp/amp_dfp.module Implements hook_theme().
amp_entity_info_alter ./amp.module Implements hook_entity_info_alter().
amp_entity_view_mode_alter ./amp.module Implements hook_entity_view_mode_alter().
amp_field_formatter_info ./amp.module Implements hook_field_formatter_info().
amp_field_formatter_settings_form ./amp.module Implements hook_field_formatter_settings_form().
amp_field_formatter_settings_summary ./amp.module Implements hook_field_formatter_settings_summary().
amp_field_formatter_view ./amp.module Implements hook_field_formatter_view().

Pages

Other projects