interface SimpleInstagramFeedLibraryInterface in Simple Instagram Feed Block 8.3
Defines Simple Instagram Feed Library interface.
Hierarchy
- interface \Drupal\simple_instagram_feed\Services\SimpleInstagramFeedLibraryInterface
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\ServicesView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SimpleInstagramFeedLibraryInterface:: |
public | function | Get the warning message. | 1 |
SimpleInstagramFeedLibraryInterface:: |
public | function | Check library avalilability. | 1 |