/** * Returns the object label form the object event (name, title, etc.) * * @param \Thelia\Model\Hook $object * * @return string */ protected function getObjectLabel($object) { return $object->getTitle(); }