/** {@inheritDoc} */ public function initialize() { /** @var el $el */ $this->el = $this->modx->getService('el'); $this->el->initialize($this->getProperty('context', $this->modx->context->key)); return parent::initialize(); }