'Get the summary page configuration
@param resource: the target S3Resource'

@staticmethod
def _get_config(resource):

    get_config = resource.get_config
    config = get_config('summary', current.deployment_settings.get_ui_summary())
    if (not config):
        config = [{'name': 'table', 'label': 'Table', 'widgets': [{'name': 'datatable', 'method': 'datatable'}]}]
    return config
