RealisticDummyContentLogInterface.php in Realistic Dummy Content 3.x
Same filename and directory in other branches
File
api/src/includes/RealisticDummyContentLogInterface.phpView source
<?php
namespace Drupal\realistic_dummy_content_api\includes;
/**
* Interface for a log class.
*/
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 = []);
}
Interfaces
Name | Description |
---|---|
RealisticDummyContentLogInterface | Interface for a log class. |