/**
* Provides the two classes of placeholders: cacheable and uncacheable.
*
- * i.e. with or without #cache[keys].
+ * I.e. with or without #cache[keys].
*
* Also, different types:
* - A) automatically generated placeholder
$this->assertEquals($expected_data, $cached_element, 'The correct data is cached: the stored #markup and #attached properties are not affected by the placeholder being replaced.');
}
}
+
/**
* @covers ::render
* @covers ::doRender
EOS;
$output = str_replace([
'{{ title }}',
- '{{ children }}'
+ '{{ children }}',
], [$vars['#title'], $vars['#children']], $output);
return $output;
});