Merge branch 'MDL-58315_master_boost_block_classes' of https://github.com/zpottie/moodle

This commit is contained in:
Adrian Greeve
2019-05-09 11:32:19 +08:00
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -1747,6 +1747,7 @@ class core_renderer extends renderer_base {
$context->showskiplink = !empty($context->skiptitle);
$context->arialabel = $bc->arialabel;
$context->ariarole = !empty($bc->attributes['role']) ? $bc->attributes['role'] : 'complementary';
$context->class = $bc->attributes['class'];
$context->type = $bc->attributes['data-block'];
$context->title = $bc->title;
$context->content = $bc->content;