interface RealisticDummyContentLogInterface in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentLogInterface.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface
- 3.x api/src/includes/RealisticDummyContentLogInterface.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface
Interface for a log class.
Hierarchy
- interface \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface
Expanded class hierarchy of RealisticDummyContentLogInterface
All classes that implement RealisticDummyContentLogInterface
File
- api/
src/ includes/ RealisticDummyContentLogInterface.php, line 8
Namespace
Drupal\realistic_dummy_content_api\includesView source
interface RealisticDummyContentLogInterface {
/**
* Add a log entry for normal execution.
*
* @param string $text
* Text for the log entry.
* @param array $vars
* Variables to insert in the text.
*/
public function log($text, $vars = array());
/**
* Add a log entry for an error.
*
* @param string $text
* Text for the log entry.
* @param array $vars
* Variables to insert in the text.
*/
public function error($text, $vars = array());
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RealisticDummyContentLogInterface:: |
public | function | Add a log entry for an error. | 2 |
RealisticDummyContentLogInterface:: |
public | function | Add a log entry for normal execution. | 2 |