def METHOD_NAME(config: Config) -> list[dict[str, str]]:
    """
    Fetch the contents of all indexes. Return the list of plugin entries.
    """
    all_plugins: list[dict[str, str]] = []
    indexes = get_all(config)
    indexes = hooks.Filters.PLUGIN_INDEXES.apply(indexes)
    for index in indexes:
        url = named_index_url(index)
        try:
            fmt.echo_info(f"Fetching index {url}...")
            all_plugins += fetch_url(url)
        except TutorError as e:
            fmt.echo_error(f"  Failed to update index. {e.args[0]}")
    return deduplicate_plugins(all_plugins)