function SingleFlushStrategy::processPlaceholders

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php \Drupal\Core\Render\Placeholder\SingleFlushStrategy::processPlaceholders()
  2. 10 core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php \Drupal\Core\Render\Placeholder\SingleFlushStrategy::processPlaceholders()
  3. 11.x core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php \Drupal\Core\Render\Placeholder\SingleFlushStrategy::processPlaceholders()

Overrides PlaceholderStrategyInterface::processPlaceholders

File

core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php, line 17

Class

SingleFlushStrategy
Defines the 'single_flush' placeholder strategy.

Namespace

Drupal\Core\Render\Placeholder

Code

public function processPlaceholders(array $placeholders) {
    // Return all placeholders as is; they should be rendered directly.
    return $placeholders;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.