public function AmpFormTrait::allSettings in Accelerated Mobile Pages (AMP) 8.3
All settings.
Return value
array All components settings provided by this trait.
1 call to AmpFormTrait::allSettings()
- AmpFormTrait::addToSummary in src/
AmpFormTrait.php - Update the summary.
File
- src/
AmpFormTrait.php, line 20
Class
- AmpFormTrait
- AMP Form trait.
Namespace
Drupal\ampCode
public function allSettings() {
return [
'layout' => $this
->t('Layout'),
'width' => $this
->t('Width'),
'height' => $this
->t('Height'),
'autoplay' => $this
->t('Autoplay'),
'controls' => $this
->t('Controls'),
'loop' => $this
->t('Loop'),
];
}