interface PuSHSubscriberEnvironmentInterface in Feeds 8.2
Implement to provide environmental functionality like user messages and logging.
Hierarchy
- interface \Drupal\feeds\PuSHSubscriberEnvironmentInterface
Expanded class hierarchy of PuSHSubscriberEnvironmentInterface
All classes that implement PuSHSubscriberEnvironmentInterface
File
- lib/
Drupal/ feeds/ PuSHSubscriber.php, line 372 - Pubsubhubbub subscriber library.
Namespace
Drupal\feedsView source
interface PuSHSubscriberEnvironmentInterface {
/**
* A message to be displayed to the user on the current page load.
*
* @param $msg
* A string that is the message to be displayed.
* @param $level
* A string that is either 'status', 'warning' or 'error'.
*/
public function msg($msg, $level = 'status');
/**
* A log message to be logged to the database or the file system.
*
* @param $msg
* A string that is the message to be displayed.
* @param $level
* A string that is either 'status', 'warning' or 'error'.
*/
public function log($msg, $level = 'status');
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PuSHSubscriberEnvironmentInterface:: |
public | function | A log message to be logged to the database or the file system. | 1 |
PuSHSubscriberEnvironmentInterface:: |
public | function | A message to be displayed to the user on the current page load. | 1 |