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