function bricks_preprocess_block__system_powered_by_block in Bricks 8
Same name and namespace in other branches
- 2.x bricks.module \bricks_preprocess_block__system_powered_by_block()
Prepares variables for `block.html.twig` for `system_powered_by_block`.
File
- ./
bricks.module, line 291
Code
function bricks_preprocess_block__system_powered_by_block(&$variables) {
$bricks_link = '<a href="https://uibricks.com">Bricks</a>';
$variables['content']['#markup'] = str_replace('>Drupal</a>', '>Drupal</a> & ' . $bricks_link, $variables['content']['#markup']);
}