dashlets = $dashlets; return $this; } /** * Return this pane's dashlets * * @return array */ public function getDashlets() { return $this->dashlets ?: array(); } /** * {@inheritdoc} */ public function init() { $this->setUrl(Url::fromPath('dashboard', array('pane' => $this->getName()))); } /** * {@inheritdoc} */ public function merge(NavigationItem $item) { parent::merge($item); $this->setDashlets(array_merge( $this->getDashlets(), $item->getDashlets() )); } }