/** * {@inheritdoc} */ public function __construct($session, $pageFactory, $parameters = array()) { parent::__construct($session, $pageFactory, $parameters); $this->elements = array_merge($this->elements, array('Trees list' => array('css' => '#trees-list'), 'Category tree' => array('css' => '#trees'))); }
/** * {@inheritdoc} */ public function __construct($session, $pageFactory, $parameters = []) { parent::__construct($session, $pageFactory, $parameters); $this->elements = array_merge($this->elements, ['Trees list' => ['css' => '#trees-list'], 'Category tree' => ['css' => '#trees']]); }
/** * {@inheritdoc} */ public function __construct($session, $pageFactory, $parameters = []) { parent::__construct($session, $pageFactory, $parameters); $this->elements = array_merge($this->elements, ['Trees list' => ['css' => '#trees-list'], 'Category tree' => ['css' => '#trees', 'decorators' => ['Pim\\Behat\\Decorator\\TreeDecorator\\JsTreeDecorator']]]); }