interface FacebookAlbumInterface in Facebook Album 8
FacebookAlbumInterface.
Hierarchy
- interface \Drupal\facebook_album\FacebookAlbumInterface
Expanded class hierarchy of FacebookAlbumInterface
All classes that implement FacebookAlbumInterface
2 files declare their use of FacebookAlbumInterface
- FacebookAlbumController.php in src/
Controller/ FacebookAlbumController.php - Contains \Drupal\facebook_album\Controller\FacebookAlbumController.
- FacebookAlbumForm.php in src/
Form/ FacebookAlbumForm.php - Contains \Drupal\facebook_album\Form\FacebookAlbumForm.
File
- src/
FacebookAlbumInterface.php, line 12 - Contains \Drupal\facebook_album\FacebookAlbumInterface.
Namespace
Drupal\facebook_albumView source
interface FacebookAlbumInterface {
/**
* Get response data
*
* @param string $call_path
* @param array $parameters
*
* @return mixed
*/
public function get($call_path = '', $parameters = array());
/**
* Translate API errors into a user friendly error.
*
* @param $code
* The error code returned from the facebook API or internally
* @param $message
* The corresponding message to that error code, if there is one
* @return string
* A user friendly error message
*/
public function translate_error($code, $message);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacebookAlbumInterface:: |
public | function | Get response data | 1 |
FacebookAlbumInterface:: |
public | function | Translate API errors into a user friendly error. | 1 |