public static function CodeFilterTest::providerCodefilterProcessCode in Code Filter 8
Data provider for testCodefilterProcessPHP().
File
- src/
Tests/ CodeFilterTest.php, line 60
Class
- CodeFilterTest
- Tests code filter functions.
Namespace
Drupal\codefilter\TestsCode
public static function providerCodefilterProcessCode() {
return [
[
self::providerCode(),
'<div class="codeblock"><code>// Comment is here.<br />watchdog(\'actions\', \'@count orphaned actions (%orphans) exist in the actions table. !link\', array(\'@count\' => $count, \'%orphans\' => $orphans, \'!link\' => $link), WATCHDOG_INFO);<br />/**<br /> * Longer comment is here.<br /> **/</code></div>',
],
];
}