You are here

private function AmpSocialShareBlock::getLibraries in Accelerated Mobile Pages (AMP) 8.3

AMP libraries

Expected by AmpFormTrait.

Return value

array The names of the AMP libraries used by this block.

1 call to AmpSocialShareBlock::getLibraries()
AmpSocialShareBlock::build in src/Plugin/Block/AmpSocialShareBlock.php
Builds and returns the renderable array for this block plugin.

File

src/Plugin/Block/AmpSocialShareBlock.php, line 29

Class

AmpSocialShareBlock
Provides an AMP Social Share block

Namespace

Drupal\amp\Plugin\Block

Code

private function getLibraries() {
  return [
    'amp/amp.social-share',
  ];
}