private static function get_analytics_classes($element) {

        // Just in case...
        $element = clean_param($element, PARAM_ALPHANUMEXT);

        $classes = \core_component::get_component_classes_in_namespace(null, 'analytics\\' . $element);

        return $classes;
    }
private static function get_analytics_classes($element) {

        // Just in case...
        $element = clean_param($element, PARAM_ALPHANUMEXT);

        $classes = \core_component::get_component_classes_in_namespace(null, 'analytics\\' . $element);

        return $classes;
    }
private static function get_analytics_classes ( $ element ) { // Just in case... $ element = clean_param ( $ element , PARAM_ALPHANUMEXT ) ; $ classes = \ core_component :: get_component_classes_in_namespace ( null , 'analytics\\' . $ element ) ; return $ classes ; }
Returns the provided element classes in the site.

@param string $element
@return string[] Array keys are the FQCN and the values the class path.
Returns the provided element classes in the site .