I have a custom decorator as follow:
$lang = $this->CreateElement('select', 'lang')
->setDecorators(array(
array(
array('elementDiv' => 'HtmlTag'),
array('tag' => 'div', 'class'=>'lang')
)
)
)
How can I reuse this decorator aliased as ‘elementDiv’ in my next element?
Alternatively, you might want to create a custom decorator.