CINXE.COM
Files 路 2.0.0 路 project / addtoany 路 GitLab
<!DOCTYPE html> <html class="gl-light ui-neutral with-top-bar with-header " lang="en"> <head prefix="og: http://ogp.me/ns#"> <meta charset="utf-8"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <meta content="width=device-width, initial-scale=1" name="viewport"> <title>Files 路 2.0.0 路 project / addtoany 路 GitLab</title> <script> //<![CDATA[ window.gon={};gon.math_rendering_limits_enabled=true;gon.features={"explainCodeChat":false};gon.licensed_features={"fileLocks":true,"remoteDevelopment":true}; //]]> </script> <script> //<![CDATA[ var gl = window.gl || {}; gl.startup_calls = {"/project/addtoany/-/refs/2.0.0/logs_tree/?format=json\u0026offset=0":{},"/project/addtoany/-/blob/2.0.0/README.md?format=json\u0026viewer=rich":{}}; gl.startup_graphql_calls = [{"query":"query pathLastCommit($projectPath: ID!, $path: String, $ref: String!, $refType: RefType) {\n project(fullPath: $projectPath) {\n __typename\n id\n repository {\n __typename\n paginatedTree(path: $path, ref: $ref, refType: $refType) {\n __typename\n nodes {\n __typename\n lastCommit {\n __typename\n id\n sha\n title\n titleHtml\n descriptionHtml\n message\n webPath\n authoredDate\n authorName\n authorGravatar\n author {\n __typename\n id\n name\n avatarUrl\n webPath\n }\n signature {\n __typename\n ... on GpgSignature {\n gpgKeyPrimaryKeyid\n verificationStatus\n }\n ... on X509Signature {\n verificationStatus\n x509Certificate {\n id\n subject\n subjectKeyIdentifier\n x509Issuer {\n id\n subject\n subjectKeyIdentifier\n }\n }\n }\n ... on SshSignature {\n verificationStatus\n keyFingerprintSha256\n }\n }\n pipelines(ref: $ref, first: 1) {\n __typename\n edges {\n __typename\n node {\n __typename\n id\n detailedStatus {\n __typename\n id\n detailsPath\n icon\n tooltip\n text\n group\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}\n","variables":{"projectPath":"project/addtoany","ref":"2.0.0","path":"","refType":null}},{"query":"query getPermissions($projectPath: ID!) {\n project(fullPath: $projectPath) {\n id\n __typename\n userPermissions {\n __typename\n pushCode\n forkProject\n createMergeRequestIn\n }\n }\n}\n","variables":{"projectPath":"project/addtoany"}},{"query":"fragment PageInfo on PageInfo {\n __typename\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n}\n\nfragment TreeEntry on Entry {\n __typename\n id\n sha\n name\n flatPath\n type\n}\n\nquery getFiles(\n $projectPath: ID!\n $path: String\n $ref: String!\n $refType: RefType\n $pageSize: Int!\n $nextPageCursor: String\n) {\n project(fullPath: $projectPath) {\n id\n __typename\n repository {\n __typename\n tree(path: $path, ref: $ref, refType: $refType) {\n __typename\n trees(first: $pageSize, after: $nextPageCursor) {\n __typename\n edges {\n __typename\n node {\n ...TreeEntry\n webPath\n }\n }\n pageInfo {\n ...PageInfo\n }\n }\n submodules(first: $pageSize, after: $nextPageCursor) {\n __typename\n edges {\n __typename\n node {\n ...TreeEntry\n webUrl\n treeUrl\n }\n }\n pageInfo {\n ...PageInfo\n }\n }\n blobs(first: $pageSize, after: $nextPageCursor) {\n __typename\n edges {\n __typename\n node {\n ...TreeEntry\n mode\n webPath\n lfsOid\n }\n }\n pageInfo {\n ...PageInfo\n }\n }\n }\n }\n }\n}\n","variables":{"nextPageCursor":"","pageSize":100,"projectPath":"project/addtoany","ref":"2.0.0","path":"/","refType":null}}]; if (gl.startup_calls && window.fetch) { Object.keys(gl.startup_calls).forEach(apiCall => { gl.startup_calls[apiCall] = { fetchCall: fetch(apiCall, { // Emulate XHR for Rails AJAX request checks headers: { 'X-Requested-With': 'XMLHttpRequest' }, // fetch won鈥檛 send cookies in older browsers, unless you set the credentials init option. // We set to `same-origin` which is default value in modern browsers. // See https://github.com/whatwg/fetch/pull/585 for more information. credentials: 'same-origin' }) }; }); } if (gl.startup_graphql_calls && window.fetch) { const headers = {"X-CSRF-Token":"RbaFWtgshG2ST0ucFTsHQ0sQ5HhWI5achQBv95qfDswvXx20QiwUkpN0ZaWe0DotYs_todetK4YaS4_pTCN1IA","x-gitlab-feature-category":"source_code_management"}; const url = `https://git.drupalcode.org/api/graphql` const opts = { method: "POST", headers: { "Content-Type": "application/json", ...headers, } }; gl.startup_graphql_calls = gl.startup_graphql_calls.map(call => ({ ...call, fetchCall: fetch(url, { ...opts, credentials: 'same-origin', body: JSON.stringify(call) }) })) } //]]> </script> <link rel="stylesheet" href="/assets/application-8276cea79ef526c83539dd54f72382f170a49fbe45332e2f2c132a38880e38ff.css" /> <link rel="stylesheet" href="/assets/page_bundles/tree-a367765135c13a026aaeda494ae9c4b67b9afbb2ac681ae3b0bf5d8fc06e02a3.css" /><link rel="stylesheet" href="/assets/page_bundles/commit_description-1e2cba4dda3c7b30dd84924809020c569f1308dea51520fe1dd5d4ce31403195.css" /><link rel="stylesheet" href="/assets/page_bundles/projects-7dbd6ca972fd85189324c15402ef26a758e9cd645ef816ca58145ac4cce86671.css" /><link rel="stylesheet" href="/assets/page_bundles/work_items-d9603c98e9259c19bbb47784abf3b63b5cb7ce8d7463608443b907773ab7197d.css" /><link rel="stylesheet" href="/assets/page_bundles/notes_shared-985467dc606e2acde1735b642c5ce237ef7e965ad1c35cf33a4c9beb2ecb05b8.css" /> <link rel="stylesheet" href="/assets/application_utilities-6e9d4ced3f78abb4b0b5d21e2c5069b8c88f8e045babafc20e3c7f57893d3ee1.css" /> <link rel="stylesheet" href="/assets/tailwind-05270112d01c5ef673f3a3a3f57249974bbc904a2fa6b327a35f12eece635a2b.css" /> <link rel="stylesheet" href="/assets/fonts-fae5d3f79948bd85f18b6513a025f863b19636e85b09a1492907eb4b1bb0557b.css" /> <link rel="stylesheet" href="/assets/highlight/themes/white-9fc2e7ab1cefbb5a525a1e1b06c04b3141c2179a6d572b1d390cf9db8def8104.css" /> <link rel="preload" href="/assets/application_utilities-6e9d4ced3f78abb4b0b5d21e2c5069b8c88f8e045babafc20e3c7f57893d3ee1.css" as="style" type="text/css"> <link rel="preload" href="/assets/application-8276cea79ef526c83539dd54f72382f170a49fbe45332e2f2c132a38880e38ff.css" as="style" type="text/css"> <link rel="preload" href="/assets/highlight/themes/white-9fc2e7ab1cefbb5a525a1e1b06c04b3141c2179a6d572b1d390cf9db8def8104.css" as="style" type="text/css"> <script src="/assets/webpack/runtime.619e248a.bundle.js" defer="defer"></script> <script src="/assets/webpack/main.bda67b2a.chunk.js" defer="defer"></script> <script src="/assets/webpack/10.cfcff625.chunk.js" defer="defer"></script> <script src="/assets/webpack/12.665b0ed5.chunk.js" defer="defer"></script> <script src="/assets/webpack/13.f9ad3ff9.chunk.js" defer="defer"></script> <script src="/assets/webpack/14.9cea632a.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.groups.security.policies.edit-pages.groups.security.policies.new-pages.projects.blob.s-823210c2.3552e27d.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.groups.analytics.dashboards-pages.groups.harbor.repositories-pages.groups.iteration_ca-43c0ecf9.cd411fdc.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.groups.new-pages.import.gitlab_projects.new-pages.import.manifest.new-pages.projects.n-44c6c18e.ce957725.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.search.show-super_sidebar.c75bd97e.chunk.js" defer="defer"></script> <script src="/assets/webpack/super_sidebar.5bd734bb.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.projects-pages.projects.activity-pages.projects.alert_management.details-pages.project-e1be1070.7e2fa462.chunk.js" defer="defer"></script> <script src="/assets/webpack/100.ba397ef4.chunk.js" defer="defer"></script> <script src="/assets/webpack/120.9094fdc7.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.projects.blob.show-pages.projects.show-pages.projects.snippets.show-pages.projects.tre-c684fcf6.236748e5.chunk.js" defer="defer"></script> <script src="/assets/webpack/138.71b7ad95.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.projects.blob.show-pages.projects.security.vulnerabilities.show-pages.projects.show-pa-5ff3b950.ef0a2f34.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.projects.branches.index-pages.projects.show-pages.projects.tags.index-pages.projects.tree.show.f41fb57a.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.projects.blob.show-pages.projects.show-pages.projects.tree.show.1332ff37.chunk.js" defer="defer"></script> <script src="/assets/webpack/treeList.fb28821a.chunk.js" defer="defer"></script> <script src="/assets/webpack/commons-pages.projects.show-pages.projects.tree.show.7254f5b2.chunk.js" defer="defer"></script> <script src="/assets/webpack/pages.projects.tree.show.91e31e47.chunk.js" defer="defer"></script> <meta content="object" property="og:type"> <meta content="GitLab" property="og:site_name"> <meta content="Files 路 2.0.0 路 project / addtoany 路 GitLab" property="og:title"> <meta content="For more information about this repository, visit the project page at https://www.drupal.org/project/addtoany" property="og:description"> <meta content="https://git.drupalcode.org/assets/twitter_card-570ddb06edf56a2312253c5872489847a0f385112ddbcd71ccfa1570febab5d2.jpg" property="og:image"> <meta content="64" property="og:image:width"> <meta content="64" property="og:image:height"> <meta content="https://git.drupalcode.org/project/addtoany/tree/2.0.0" property="og:url"> <meta content="summary" property="twitter:card"> <meta content="Files 路 2.0.0 路 project / addtoany 路 GitLab" property="twitter:title"> <meta content="For more information about this repository, visit the project page at https://www.drupal.org/project/addtoany" property="twitter:description"> <meta content="https://git.drupalcode.org/assets/twitter_card-570ddb06edf56a2312253c5872489847a0f385112ddbcd71ccfa1570febab5d2.jpg" property="twitter:image"> <meta name="csrf-param" content="authenticity_token" /> <meta name="csrf-token" content="ZUqBfs6miezXCO688wV5IopqeISeq9OoHnF61H7NJy4PoxmQVKYZE9YzwIV47kRMo7VxXR8lbrKBOprKqHFcwg" /> <meta name="csp-nonce" /> <meta name="action-cable-url" content="/-/cable" /> <link href="/-/manifest.json" rel="manifest"> <link rel="icon" type="image/png" href="/uploads/-/system/appearance/favicon/1/gitlab-drop.png" id="favicon" data-original-href="/uploads/-/system/appearance/favicon/1/gitlab-drop.png" /> <link rel="apple-touch-icon" type="image/x-icon" href="/assets/apple-touch-icon-b049d4bc0dd9626f31db825d61880737befc7835982586d015bded10b4435460.png" /> <link href="/search/opensearch.xml" rel="search" title="Search GitLab" type="application/opensearchdescription+xml"> <link rel="alternate" type="application/atom+xml" title="addtoany:2.0.0 commits" href="https://git.drupalcode.org/project/addtoany/-/commits/2.0.0?format=atom" /> <meta content="For more information about this repository, visit the project page at https://www.drupal.org/project/addtoany" name="description"> <meta content="#ececef" name="theme-color"> </head> <body class="tab-width-8 gl-browser-ie gl-platform-windows" data-find-file="/project/addtoany/-/find_file/2.0.0" data-group="project" data-group-full-path="project" data-namespace-id="2" data-page="projects:tree:show" data-page-type-id="2.0.0" data-project="addtoany" data-project-full-path="project/addtoany" data-project-id="58016"> <script> //<![CDATA[ gl = window.gl || {}; gl.client = {"isIe":true,"isWindows":true}; //]]> </script> <header class="header-logged-out" data-testid="navbar"> <a class="gl-sr-only gl-accessibility" href="#content-body">Skip to content</a> <div class="container-fluid"> <nav aria-label="Explore GitLab" class="header-logged-out-nav gl-flex gl-gap-3 gl-justify-between"> <div class="gl-flex gl-items-center gl-gap-1"> <span class="gl-sr-only">GitLab</span> <a title="Homepage" id="logo" class="header-logged-out-logo has-tooltip" aria-label="Homepage" href="/"><img class="brand-header-logo lazy" alt="" data-src="/uploads/-/system/appearance/header_logo/1/gitlab-drop.svg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </a></div> <ul class="gl-list-none gl-p-0 gl-m-0 gl-flex gl-gap-3 gl-items-center gl-grow"> <li class="header-logged-out-nav-item"> <a class="" href="/explore">Explore</a> </li> </ul> <ul class="gl-list-none gl-p-0 gl-m-0 gl-flex gl-gap-3 gl-items-center gl-justify-end"> <li class="header-logged-out-nav-item"> <a href="/users/sign_in?redirect_to_referer=yes">Sign in</a> </li> </ul> </nav> </div> </header> <div class="layout-page page-with-super-sidebar"> <aside class="js-super-sidebar super-sidebar super-sidebar-loading" data-command-palette="{"project_files_url":"/project/addtoany/-/files/2.0.0?format=json","project_blob_url":"/project/addtoany/-/blob/2.0.0"}" data-force-desktop-expanded-sidebar="" data-is-saas="false" data-root-path="/" data-sidebar="{"is_logged_in":false,"context_switcher_links":[{"title":"Explore","link":"/explore","icon":"compass"}],"current_menu_items":[{"id":"project_overview","title":"addtoany","icon":null,"avatar":null,"entity_id":58016,"link":"/project/addtoany","pill_count":null,"link_classes":"shortcuts-project","is_active":false},{"id":"manage_menu","title":"Manage","icon":"users","avatar":null,"avatar_shape":"rect","entity_id":null,"link":"/project/addtoany/activity","is_active":false,"pill_count":null,"items":[{"id":"activity","title":"Activity","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/activity","pill_count":null,"link_classes":"shortcuts-project-activity","is_active":false},{"id":"members","title":"Members","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/project_members","pill_count":null,"link_classes":null,"is_active":false},{"id":"labels","title":"Labels","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/labels","pill_count":null,"link_classes":null,"is_active":false}],"separated":false},{"id":"plan_menu","title":"Plan","icon":"planning","avatar":null,"avatar_shape":"rect","entity_id":null,"link":"/project/addtoany/-/wikis/home","is_active":false,"pill_count":null,"items":[{"id":"project_wiki","title":"Wiki","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/wikis/home","pill_count":null,"link_classes":"shortcuts-wiki","is_active":false},{"id":"external_issue_tracker","title":"Custom issue tracker","icon":null,"avatar":null,"entity_id":null,"link":"https://www.drupal.org/project/addtoany","pill_count":null,"link_classes":"shortcuts-external_tracker","is_active":false}],"separated":false},{"id":"code_menu","title":"Code","icon":"code","avatar":null,"avatar_shape":"rect","entity_id":null,"link":"/project/addtoany/-/merge_requests","is_active":true,"pill_count":null,"items":[{"id":"project_merge_request_list","title":"Merge requests","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/merge_requests","pill_count":"23","link_classes":"shortcuts-merge_requests","is_active":false},{"id":"files","title":"Repository","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/tree/2.0.0","pill_count":null,"link_classes":"shortcuts-tree","is_active":true},{"id":"branches","title":"Branches","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/branches","pill_count":null,"link_classes":null,"is_active":false},{"id":"commits","title":"Commits","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/commits/2.0.0","pill_count":null,"link_classes":"shortcuts-commits","is_active":false},{"id":"tags","title":"Tags","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/tags","pill_count":null,"link_classes":null,"is_active":false},{"id":"graphs","title":"Repository graph","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/network/2.0.0","pill_count":null,"link_classes":"shortcuts-network","is_active":false},{"id":"compare","title":"Compare revisions","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/compare?from=2.0.x\u0026to=2.0.0","pill_count":null,"link_classes":null,"is_active":false},{"id":"project_snippets","title":"Snippets","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/snippets","pill_count":null,"link_classes":"shortcuts-snippets","is_active":false},{"id":"file_locks","title":"Locked files","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/path_locks","pill_count":null,"link_classes":null,"is_active":false}],"separated":false},{"id":"build_menu","title":"Build","icon":"rocket","avatar":null,"avatar_shape":"rect","entity_id":null,"link":"/project/addtoany/-/pipelines","is_active":false,"pill_count":null,"items":[{"id":"pipelines","title":"Pipelines","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/pipelines","pill_count":null,"link_classes":"shortcuts-pipelines","is_active":false},{"id":"jobs","title":"Jobs","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/jobs","pill_count":null,"link_classes":"shortcuts-builds","is_active":false},{"id":"pipeline_schedules","title":"Pipeline schedules","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/pipeline_schedules","pill_count":null,"link_classes":"shortcuts-builds","is_active":false},{"id":"artifacts","title":"Artifacts","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/artifacts","pill_count":null,"link_classes":"shortcuts-builds","is_active":false}],"separated":false},{"id":"deploy_menu","title":"Deploy","icon":"deployments","avatar":null,"avatar_shape":"rect","entity_id":null,"link":"/project/addtoany/-/ml/models","is_active":false,"pill_count":null,"items":[{"id":"model_registry","title":"Model registry","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/ml/models","pill_count":null,"link_classes":null,"is_active":false}],"separated":false},{"id":"analyze_menu","title":"Analyze","icon":"chart","avatar":null,"avatar_shape":"rect","entity_id":null,"link":"/project/addtoany/-/value_stream_analytics","is_active":false,"pill_count":null,"items":[{"id":"cycle_analytics","title":"Value stream analytics","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/value_stream_analytics","pill_count":null,"link_classes":"shortcuts-project-cycle-analytics","is_active":false},{"id":"contributors","title":"Contributor analytics","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/graphs/2.0.0","pill_count":null,"link_classes":null,"is_active":false},{"id":"ci_cd_analytics","title":"CI/CD analytics","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/pipelines/charts","pill_count":null,"link_classes":null,"is_active":false},{"id":"repository_analytics","title":"Repository analytics","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/graphs/2.0.0/charts","pill_count":null,"link_classes":"shortcuts-repository-charts","is_active":false},{"id":"code_review","title":"Code review analytics","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/analytics/code_reviews","pill_count":null,"link_classes":null,"is_active":false},{"id":"insights","title":"Insights","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/insights/","pill_count":null,"link_classes":"shortcuts-project-insights","is_active":false},{"id":"model_experiments","title":"Model experiments","icon":null,"avatar":null,"entity_id":null,"link":"/project/addtoany/-/ml/experiments","pill_count":null,"link_classes":null,"is_active":false}],"separated":false}],"current_context_header":"Project","support_path":"https://about.gitlab.com/get-help/","docs_path":"/help/docs","display_whats_new":false,"show_version_check":null,"search":{"search_path":"/search","issues_path":"/dashboard/issues","mr_path":"/dashboard/merge_requests","autocomplete_path":"/search/autocomplete","settings_path":"/search/settings","search_context":{"group":{"id":2,"name":"project","full_name":"project"},"group_metadata":{"issues_path":"/groups/project/-/issues","mr_path":"/groups/project/-/merge_requests"},"project":{"id":58016,"name":"addtoany"},"project_metadata":{"mr_path":"/project/addtoany/-/merge_requests"},"code_search":true,"ref":"2.0.0","scope":null,"for_snippets":null}},"panel_type":"project","shortcut_links":[{"title":"Snippets","href":"/explore/snippets","css_class":"dashboard-shortcuts-snippets"},{"title":"Groups","href":"/explore/groups","css_class":"dashboard-shortcuts-groups"},{"title":"Projects","href":"/explore/projects/starred","css_class":"dashboard-shortcuts-projects"}],"terms":"/-/users/terms"}"></aside> <div class="content-wrapper"> <div class="broadcast-wrapper"> </div> <div class="alert-wrapper alert-wrapper-top-space gl-flex gl-flex-col gl-gap-3 container-fluid container-limited"> <div class="gl-alert gl-alert-danger gl-alert-not-dismissible" role="alert"> <div class="gl-alert-icon-container"> <svg class="s16 gl-alert-icon gl-alert-icon-no-title" data-testid="error-icon"><use href="/assets/icons-236e3b687d786d9dfe4709143a94d4c53b8d5a1f235775401e5825148297fa84.svg#error"></use></svg> </div> <div class="gl-alert-content" role="alert"> <div class="gl-alert-body"> GitLab may not work properly, because you are using an outdated web browser. <br> Please install a <a target="_blank" rel="noopener noreferrer" href="/help/install/requirements.md#supported-web-browsers">supported web browser</a> for a better experience. </div> </div> </div> </div> <div class="top-bar-fixed container-fluid" data-testid="top-bar"> <div class="top-bar-container gl-flex gl-items-center gl-gap-2"> <div class="gl-grow gl-basis-0 gl-flex gl-items-center gl-justify-start"> <button class="gl-button btn btn-icon btn-md btn-default btn-default-tertiary js-super-sidebar-toggle-expand super-sidebar-toggle -gl-ml-3" aria-controls="super-sidebar" aria-expanded="false" aria-label="Primary navigation sidebar" type="button"><svg class="s16 gl-icon gl-button-icon " data-testid="sidebar-icon"><use href="/assets/icons-236e3b687d786d9dfe4709143a94d4c53b8d5a1f235775401e5825148297fa84.svg#sidebar"></use></svg> </button> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"project","item":"https://git.drupalcode.org/project"},{"@type":"ListItem","position":2,"name":"addtoany","item":"https://git.drupalcode.org/project/addtoany"},{"@type":"ListItem","position":3,"name":"Repository","item":"https://git.drupalcode.org/project/addtoany/tree/2.0.0"}]} </script> <div data-testid="breadcrumb-links" id="js-vue-page-breadcrumbs-wrapper"> <div data-breadcrumbs-json="[{"text":"project","href":"/project","avatarPath":null},{"text":"addtoany","href":"/project/addtoany","avatarPath":null},{"text":"Repository","href":"/project/addtoany/tree/2.0.0","avatarPath":null}]" id="js-vue-page-breadcrumbs"></div> <div id="js-injected-page-breadcrumbs"></div> </div> </div> <div class="gl-flex-none gl-flex gl-items-center gl-justify-center"> <div id="js-advanced-search-modal"></div> </div> <div class="gl-grow gl-basis-0 gl-flex gl-items-center gl-justify-end"> <div id="js-work-item-feedback"></div> </div> </div> </div> <div class="container-fluid container-limited project-highlight-puc"> <main class="content" id="content-body" itemscope itemtype="http://schema.org/SoftwareSourceCode"> <div class="flash-container flash-container-page sticky" data-testid="flash-container"> <div id="js-global-alerts"></div> </div> <div class="tree-holder clearfix js-per-page gl-mt-5" data-blame-per-page="1000" id="tree-holder"> <div class="nav-block gl-flex gl-flex-col sm:gl-flex-row gl-items-stretch"> <div class="tree-ref-container gl-flex gl-flex-wrap gl-gap-2 mb-2 mb-md-0"> <div class="tree-ref-holder gl-max-w-26" data-testid="ref-dropdown-container"> <div data-project-id="58016" data-project-root-path="/project/addtoany" data-ref-type="" id="js-tree-ref-switcher"></div> </div> <div data-can-collaborate="false" data-can-edit-tree="false" data-can-push-code="false" data-new-blob-path="/project/addtoany/-/new/2.0.0" data-new-branch-path="/project/addtoany/-/branches/new" data-new-dir-path="/project/addtoany/-/create_dir/2.0.0" data-new-tag-path="/project/addtoany/-/tags/new" data-upload-path="/project/addtoany/-/create/2.0.0" id="js-repo-breadcrumb"></div> </div> <div id="js-blob-controls"></div> <div class="tree-controls"> <div class="gl-flex gl-flex-wrap gl-gap-3 gl-mb-3 sm:gl-mb-0"> <a class="gl-button btn btn-md btn-default shortcuts-compare" rel="nofollow" href="/project/addtoany/-/compare?from=2.0.x&to=2.0.0"><span class="gl-button-text"> Compare </span> </a> <div data-history-link="/project/addtoany/-/commits/2.0.0" id="js-tree-history-link"></div> <button class="gl-button btn btn-md btn-default has-tooltip shortcuts-find-file" title="Go to file, press <kbd class='flat ml-1' aria-hidden=true>/~</kbd> or <kbd class='flat ml-1' aria-hidden=true>t</kbd>" aria-keyshortcuts="/+~ t" data-html="true" data-event-tracking="click_find_file_button_on_repository_pages" type="button"><span class="gl-button-text"> Find file </span> </button> <div class="gl-inline-block" data-css-classes="gl-w-full sm:gl-w-auto" data-options="{"project_path":"project/addtoany","ref":"2.0.0","is_fork":false,"needs_to_fork":true,"gitpod_enabled":false,"is_blob":false,"show_edit_button":false,"show_web_ide_button":false,"show_gitpod_button":false,"show_pipeline_editor_button":false,"web_ide_url":"/-/ide/project/project/addtoany/edit/2.0.0","edit_url":"","pipeline_editor_url":"/project/addtoany/-/ci/editor?branch_name=2.0.0","gitpod_url":"https://gitpod.io/#https://git.drupalcode.org/project/addtoany/-/tree/2.0.0/","user_preferences_gitpod_path":"/-/profile/preferences#user_gitpod_enabled","user_profile_enable_gitpod_path":"/-/user_settings/profile?user%5Bgitpod_enabled%5D=true","new_workspace_path":"/-/remote_development/workspaces/new","project_id":58016,"fork_path":"/project/addtoany/-/forks/new","fork_modal_id":null}" data-web-ide-promo-popover-img="/assets/web-ide-promo-popover-9e59939b3b450a7ea385a520971151abb09ddad46141c333d6dcc783b9b91522.svg" id="js-tree-web-ide-link"></div> <div class="project-code-holder gl-hidden sm:gl-inline-block"> <div class="git-clone-holder js-git-clone-holder"> <div data-directory-download-links="[{"text":"zip","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.zip"},{"text":"tar.gz","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.tar.gz"},{"text":"tar.bz2","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.tar.bz2"},{"text":"tar","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.tar"}]" data-http-url="https://git.drupalcode.org/project/addtoany.git" data-kerberos-url="" data-ssh-url="git@git.drupal.org:project/addtoany.git" data-xcode-url="" id="js-code-dropdown"></div> </div> </div> </div> <div class="project-code-holder gl-flex gl-gap-3 sm:!gl-hidden"> <div class="js-source-code-dropdown" data-css-class="" data-download-artifacts="[]" data-download-links="[{"text":"zip","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.zip"},{"text":"tar.gz","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.tar.gz"},{"text":"tar.bz2","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.tar.bz2"},{"text":"tar","path":"/project/addtoany/-/archive/2.0.0/addtoany-2.0.0.tar"}]"></div> <div class="btn-group mobile-git-clone js-mobile-git-clone btn-block"> <button class="gl-button btn btn-md btn-confirm hover:gl-no-underline gl-text-gray-700 js-clone-dropdown-label" title="Copy" aria-label="Copy" aria-live="polite" data-toggle="tooltip" data-placement="bottom" data-container="body" data-html="true" data-button-text="Copy HTTPS clone URL" data-size="medium" data-category="primary" data-variant="confirm" data-hide-button-icon="true" data-clipboard-text="https://git.drupalcode.org/project/addtoany.git" type="button"><span class="gl-button-text"> Copy HTTPS clone URL </span> </button> <button class="btn gl-button btn-confirm dropdown-toggle js-dropdown-toggle flex-grow-0 gl-flex gl-items-center gl-justify-center w-auto ml-0" data-toggle="dropdown" type="button"> <svg class="s16 dropdown-btn-icon icon" data-testid="chevron-down-icon"><use href="/assets/icons-236e3b687d786d9dfe4709143a94d4c53b8d5a1f235775401e5825148297fa84.svg#chevron-down"></use></svg> </button> <ul class="dropdown-menu dropdown-menu-selectable dropdown-menu-right clone-options-dropdown" data-dropdown> <li class="js-clone-links"> <a class="copy ssh clone url-selector is-active" href="git@git.drupal.org:project/addtoany.git" data-clone-type="ssh"><strong class="dropdown-menu-inner-title">Copy SSH clone URL</strong><span class="dropdown-menu-inner-content">git@git.drupal.org:project/addtoany.git</span></a> </li> <li class="js-clone-links"> <a class="copy https clone url-selector " href="https://git.drupalcode.org/project/addtoany.git" data-clone-type="http"><strong class="dropdown-menu-inner-title">Copy HTTPS clone URL</strong><span class="dropdown-menu-inner-content">https://git.drupalcode.org/project/addtoany.git</span></a> </li> </ul> </div> </div> </div> </div> <div class="info-well gl-hidden sm:gl-flex project-last-commit gl-flex-col gl-mt-5"> <div class="gl-m-auto" data-ref-type="" id="js-last-commit"> <div class="gl-spinner-container" role="status"><span aria-hidden class="gl-spinner gl-spinner-md gl-spinner-dark !gl-align-text-bottom"></span><span class="gl-sr-only !gl-absolute">Loading</span> </div> </div> <div data-branch="2.0.0" data-branch-rules-path="/project/addtoany/-/settings/repository#js-branch-rules" id="js-code-owners"></div> </div> <div data-escaped-ref="2.0.0" data-explain-code-available="false" data-full-name="project / addtoany" data-path-locks-available="true" data-path-locks-toggle="/project/addtoany/path_locks/toggle" data-project-path="project/addtoany" data-project-short-path="addtoany" data-ref="2.0.0" data-resource-id="gid://gitlab/Project/58016" data-user-id="" id="js-tree-list"></div> </div> <script> //<![CDATA[ window.gl = window.gl || {}; window.gl.webIDEPath = '/-/ide/project/project/addtoany/edit/2.0.0' //]]> </script> <div data-ambiguous="false" data-ref="2.0.0" id="js-ambiguous-ref-modal"></div> </main> </div> </div> </div> <script> //<![CDATA[ if ('loading' in HTMLImageElement.prototype) { document.querySelectorAll('img.lazy').forEach(img => { img.loading = 'lazy'; let imgUrl = img.dataset.src; // Only adding width + height for avatars for now if (imgUrl.indexOf('/avatar/') > -1 && imgUrl.indexOf('?') === -1) { const targetWidth = img.getAttribute('width') || img.width; imgUrl += `?width=${targetWidth}`; } img.src = imgUrl; img.removeAttribute('data-src'); img.classList.remove('lazy'); img.classList.add('js-lazy-loaded'); img.dataset.testid = 'js-lazy-loaded-content'; }); } //]]> </script> <script> //<![CDATA[ gl = window.gl || {}; gl.experiments = {}; //]]> </script> </body> </html>