You are here

interface SimpleInstagramFeedLibraryInterface in Simple Instagram Feed Block 8.3

Defines Simple Instagram Feed Library interface.

Hierarchy

Expanded class hierarchy of SimpleInstagramFeedLibraryInterface

All classes that implement SimpleInstagramFeedLibraryInterface

1 file declares its use of SimpleInstagramFeedLibraryInterface
SimpleInstagramBlock.php in src/Plugin/Block/SimpleInstagramBlock.php

File

src/Services/SimpleInstagramFeedLibraryInterface.php, line 8

Namespace

Drupal\simple_instagram_feed\Services
View source
interface SimpleInstagramFeedLibraryInterface {

  /**
   * Check library avalilability.
   *
   * @param bool $warning
   *   Add a warning message if library is not available.
   *
   * @return bool
   */
  public function isAvailable(bool $warning = FALSE);

  /**
   * Get the warning message.
   *
   * @return \Drupal\Core\StringTranslation\TranslatableMarkup
   */
  public function getWarningMessage();

}

Members

Namesort descending Modifiers Type Description Overrides
SimpleInstagramFeedLibraryInterface::getWarningMessage public function Get the warning message. 1
SimpleInstagramFeedLibraryInterface::isAvailable public function Check library avalilability. 1