You are here

function _amp_get_layouts in Accelerated Mobile Pages (AMP) 7

Helper function to return a list of AMP layouts.

2 calls to _amp_get_layouts()
amp_field_formatter_settings_form in ./amp.module
Implements hook_field_formatter_settings_form().
amp_field_formatter_settings_summary in ./amp.module
Implements hook_field_formatter_settings_summary().

File

./amp.module, line 1234

Code

function _amp_get_layouts() {
  return array(
    'nodisplay' => 'nodisplay',
    'fixed' => 'fixed',
    'responsive' => 'responsive',
    'fixed-height' => 'fixed-height',
    'fill' => 'fill',
    'container' => 'container',
  );
}