SimpleInstagramFeedLibraryInterface.php in Simple Instagram Feed Block 8.3
Namespace
Drupal\simple_instagram_feed\ServicesFile
src/Services/SimpleInstagramFeedLibraryInterface.phpView source
<?php
namespace Drupal\simple_instagram_feed\Services;
/**
* Defines Simple Instagram Feed Library interface.
*/
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();
}
Interfaces
Name | Description |
---|---|
SimpleInstagramFeedLibraryInterface | Defines Simple Instagram Feed Library interface. |