protected static function MetatagDisplayExtender::getFirstRowTokensReflection in Metatag 8
Parameters
\Drupal\views\Plugin\views\style\StylePluginBase $style:
Return value
\ReflectionProperty
File
- metatag_views/
src/ Plugin/ views/ display_extender/ MetatagDisplayExtender.php, line 300
Class
- MetatagDisplayExtender
- Metatag display extender plugin.
Namespace
Drupal\metatag_views\Plugin\views\display_extenderCode
protected static function getFirstRowTokensReflection(StylePluginBase $style) : \ReflectionProperty {
$r = new \ReflectionObject($style);
$p = $r
->getProperty('rowTokens');
$p
->setAccessible(TRUE);
return $p;
}