interface RealisticDummyContentLogInterface in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentLogInterface.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentLogInterface
- 7.2 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, array $vars = []);
/**
* 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, array $vars = []);
}
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 |