Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / Render / Placeholder / SingleFlushStrategy.php
1 <?php
2
3 namespace Drupal\Core\Render\Placeholder;
4
5 /**
6  * Defines the 'single_flush' placeholder strategy.
7  *
8  * This is designed to be the fallback strategy, so should have the lowest
9  * priority. All placeholders that are not yet replaced at this point will be
10  * rendered as is and delivered directly.
11  */
12 class SingleFlushStrategy implements PlaceholderStrategyInterface {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function processPlaceholders(array $placeholders) {
18     // Return all placeholders as is; they should be rendered directly.
19     return $placeholders;
20   }
21
22 }