Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block with Placeholder: Iterate through blocks in placeholder #180

Closed
TheMaaarc opened this issue Feb 5, 2019 · 0 comments
Closed

Block with Placeholder: Iterate through blocks in placeholder #180

TheMaaarc opened this issue Feb 5, 2019 · 0 comments
Assignees

Comments

@TheMaaarc
Copy link
Member

We need the possibility to wrap a div (or something else) around a block in a placeholder of a block.

For example:

public function blockIteration(PhpBlock $block)
{
    return '<div class="col-'.$this->getVarValue('cols').'">'.$block->frontend().'</div>';
}
nadar added a commit that referenced this issue Feb 5, 2019
nadar added a commit that referenced this issue Feb 5, 2019
@nadar nadar closed this as completed Feb 5, 2019
@nadar nadar self-assigned this Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants