public function BlazyStylePluginTrait::getLayout in Blazy 8.2
Same name and namespace in other branches
- 8 src/Dejavu/BlazyStylePluginTrait.php \Drupal\blazy\Dejavu\BlazyStylePluginTrait::getLayout()
- 7 src/Dejavu/BlazyStylePluginTrait.php \Drupal\blazy\Dejavu\BlazyStylePluginTrait::getLayout()
Returns the rendered layout fields.
1 call to BlazyStylePluginTrait::getLayout()
- BlazyStylePluginBase::buildElement in src/
Dejavu/ BlazyStylePluginBase.php - Returns an individual row/element content.
File
- src/
Dejavu/ BlazyStylePluginTrait.php, line 142
Class
- BlazyStylePluginTrait
- A Trait common for optional views style plugins.
Namespace
Drupal\blazy\DejavuCode
public function getLayout(array &$settings, $index) {
if (strpos($settings['layout'], 'field_') !== FALSE) {
$settings['layout'] = strip_tags($this
->getField($index, $settings['layout']));
}
}