public static function RenderCachePlaceholderInterface::loadPlaceholderFunctionArgs in Render cache 7.2
Loads the %load arguments within $context['args'].
Parameters
array $context: An array with the following keys:
- function: The function to call.
- args: The arguments to process.
Return value
array The function arguments suitable for call_user_func_array() with an argument keyed %node with a value of nid replaced with the loaded $node.
See also
RenderCachePlaceholderInterface::getPlaceholder()
1 method overrides RenderCachePlaceholderInterface::loadPlaceholderFunctionArgs()
- RenderCachePlaceholder::loadPlaceholderFunctionArgs in src/
Cache/ RenderCachePlaceholder.php - Loads the %load arguments within $context['args'].
File
- src/
Cache/ RenderCachePlaceholderInterface.php, line 92 - Contains \Drupal\render_cache\Cache\RenderCachePlaceholderInterface
Class
- RenderCachePlaceholderInterface
- Defines an interface for #post_render_cache placeholders.
Namespace
Drupal\render_cache\CacheCode
public static function loadPlaceholderFunctionArgs(array $context);