You are here

public function AmpFormTrait::libraryDescription in Accelerated Mobile Pages (AMP) 8.3

LibraryDescription.

Return value

array Links to information about the AMP components used by the parent class.

5 calls to AmpFormTrait::libraryDescription()
AmpImageCarousel::settingsForm in src/Plugin/Field/FieldFormatter/AmpImageCarousel.php
Returns a form to configure settings for the formatter.
AmpImageFormatter::settingsForm in src/Plugin/Field/FieldFormatter/AmpImageFormatter.php
Returns a form to configure settings for the formatter.
AmpSocialPostFormatter::settingsForm in src/Plugin/Field/FieldFormatter/AmpSocialPostFormatter.php
Returns a form to configure settings for the formatter.
AmpVideoFormatter::settingsForm in src/Plugin/Field/FieldFormatter/AmpVideoFormatter.php
Returns a form to configure settings for the formatter.
AmpViewsCarouselStyle::buildOptionsForm in src/Plugin/views/style/AmpViewsCarouselStyle.php
Provide a form to edit options for this plugin.

File

src/AmpFormTrait.php, line 103

Class

AmpFormTrait
AMP Form trait.

Namespace

Drupal\amp

Code

public function libraryDescription() {
  $ampService = \Drupal::service('amp.utilities');
  return $ampService
    ->libraryDescription($this
    ->getLibraries());
}