Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1699 social media buttons wn #61

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6.5",
"drupal-composer/drupal-scaffold": "^2.5",
"drupal/addtoany": "^1",
"drupal/admin_toolbar": "^1",
"drupal/bootstrap_sass": "^1.9",
"drupal/console": "^1.0.2",
Expand Down
64 changes: 59 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions config/sync/addtoany.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
buttons_size: 32
additional_html: "<div class=\"a2a_kit a2a_kit_size_32 a2a_floating_style a2a_vertical_style\" style=\"left:0px; top:150px; font-size=0;\">\r\n <a class=\"a2a_button_twitter\"></a>\r\n <a class=\"a2a_button_facebook\"></a>\r\n <a class=\"a2a_button_pinterest\"></a>\r\n <a class=\"a2a_button_linkedin\"></a>\r\n</div>\r\n\r\n<script async src=\"https://static.addtoany.com/menu/page.js\"></script>"
additional_css: '.a2a_svg { border-radius: 0 !important; }'
additional_js: ''
universal_button: none
custom_universal_button: ''
universal_button_placement: before
no_3p: false
entities:
media: 1
node: 1
comment: 1
block_content: 0
contact_message: 0
file: 0
shortcut: 0
taxonomy_term: 0
user: 0
menu_link_content: 0
_core:
default_config_hash: 9YPlBuinIKLe5jVEf-aIhZvKFn77i18yD4CrNR0BbVQ
5 changes: 5 additions & 0 deletions config/sync/core.entity_view_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ targetEntityType: node
bundle: article
mode: default
content:
addtoany:
weight: 5
settings: { }
third_party_settings: { }
region: content
body:
type: text_default
weight: 0
Expand Down
13 changes: 13 additions & 0 deletions config/sync/core.entity_view_display.node.article.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.article.body
- field.field.node.article.comment
- field.field.node.article.field_featured_article
- field.field.node.article.field_image
- field.field.node.article.field_related_web_development_pr
- field.field.node.article.field_tags
- field.field.node.article.field_tools
- field.field.node.article.field_website
- image.style.medium
- node.type.article
module:
Expand All @@ -21,6 +25,11 @@ targetEntityType: node
bundle: article
mode: teaser
content:
addtoany:
weight: 5
settings: { }
third_party_settings: { }
region: content
body:
type: text_summary_or_trimmed
weight: 0
Expand Down Expand Up @@ -51,5 +60,9 @@ content:
region: content
hidden:
comment: true
field_featured_article: true
field_image: true
field_related_web_development_pr: true
field_tags: true
field_tools: true
field_website: true
45 changes: 44 additions & 1 deletion config/sync/core.entity_view_display.node.page.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ status: true
dependencies:
config:
- field.field.node.page.body
- field.field.node.page.layout_builder__layout
- node.type.page
module:
- layout_builder
- layout_discovery
- text
- user
third_party_settings:
Expand Down Expand Up @@ -41,6 +43,41 @@ third_party_settings:
id: 'extra_field_block:node:page:links'
additional: { }
weight: 1
c11d95b6-9a50-41d2-b4f8-fbbfd5687b8c:
uuid: c11d95b6-9a50-41d2-b4f8-fbbfd5687b8c
region: content
configuration:
label_display: '0'
context_mapping:
entity: layout_builder.entity
id: 'field_block:node:page:body'
formatter:
label: hidden
type: text_default
settings: { }
third_party_settings: { }
additional: { }
weight: 2
9fff95a4-0559-4034-b1b7-d9eada64fc6e:
uuid: 9fff95a4-0559-4034-b1b7-d9eada64fc6e
region: content
configuration:
label_display: '0'
context_mapping:
entity: layout_builder.entity
id: 'extra_field_block:node:page:links'
additional: { }
weight: 3
7e9c7f45-8d5a-45b9-8d77-7e3ff11dc833:
uuid: 7e9c7f45-8d5a-45b9-8d77-7e3ff11dc833
region: content
configuration:
label_display: '0'
context_mapping:
entity: layout_builder.entity
id: 'extra_field_block:node:page:addtoany'
additional: { }
weight: 4
allow_custom: true
enabled: true
_core:
Expand All @@ -50,6 +87,11 @@ targetEntityType: node
bundle: page
mode: default
content:
addtoany:
weight: 101
settings: { }
third_party_settings: { }
region: content
body:
label: hidden
type: text_default
Expand All @@ -62,4 +104,5 @@ content:
region: content
settings: { }
third_party_settings: { }
hidden: { }
hidden:
layout_builder__layout: true
9 changes: 8 additions & 1 deletion config/sync/core.entity_view_display.node.page.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.page.body
- field.field.node.page.layout_builder__layout
- node.type.page
module:
- text
Expand All @@ -16,6 +17,11 @@ targetEntityType: node
bundle: page
mode: teaser
content:
addtoany:
weight: 101
settings: { }
third_party_settings: { }
region: content
body:
label: hidden
type: text_summary_or_trimmed
Expand All @@ -27,4 +33,5 @@ content:
links:
weight: 101
region: content
hidden: { }
hidden:
layout_builder__layout: true
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module:
addtoany: 0
admin_toolbar: 0
admin_toolbar_links_access_filter: 0
admin_toolbar_tools: 0
Expand Down
53 changes: 53 additions & 0 deletions config/sync/views.view.articles_view.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- image.style.large
- node.type.article
module:
- addtoany
- image
- node
- text
Expand Down Expand Up @@ -220,6 +221,56 @@ display:
entity_type: node
entity_field: created
plugin_id: field
addtoany_share:
id: addtoany_share
table: node
field: addtoany_share
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
entity_type: node
plugin_id: node_addtoany_share
title:
id: title
table: node_field_data
Expand Down Expand Up @@ -567,6 +618,8 @@ display:
display_options:
display_extenders: { }
path: articles-view
defaults:
fields: true
cache_metadata:
max-age: -1
contexts:
Expand Down
Loading