You are here

public function SimpleInstagramFeedLibrary::getWarningMessage in Simple Instagram Feed Block 8.3

Get the warning message.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup

Overrides SimpleInstagramFeedLibraryInterface::getWarningMessage

1 call to SimpleInstagramFeedLibrary::getWarningMessage()
SimpleInstagramFeedLibrary::isAvailable in src/Services/SimpleInstagramFeedLibrary.php
Check library avalilability.

File

src/Services/SimpleInstagramFeedLibrary.php, line 40

Class

SimpleInstagramFeedLibrary
Implements Simple Instagram Feed Library service.

Namespace

Drupal\simple_instagram_feed\Services

Code

public function getWarningMessage() {
  return $this
    ->t('Missing library: The <a href=":url">jquery.instagramFeed</a> library should be installed at <strong>:path</strong>.', [
    ':url' => 'https://github.com/jsanahuja/jquery.instagramFeed',
    ':path' => $this
      ->getPath(),
  ]);
}