/** * Returns object definition by calling getDefaultDefinitionWithCustomTaskPath * method in ilChatroomObjectDefinition. * @return ilChatroomObjectDefinition */ protected function getObjectDefinition() { return ilChatroomObjectDefinition::getDefaultDefinitionWithCustomTaskPath('Chatroom', 'admintasks'); }