eventData['blocks'])) { $this->eventData['type'] = $type; // Call all registered hook observers for admin block foreach ($this->observers as $observer) { $data = $observer->hookAdminBlock($this); if (isset($data['blocks'])) { // Get modified data $this->eventData['blocks'] = $data['blocks']; } } return $this->eventData; } return 0; } }