'
filter_html_help: false
filter_html_nofollow: false
filter_html_image_secure:
@@ -43,9 +44,31 @@ filters:
status: true
weight: 9
settings: { }
+ filter_htmlcorrector:
+ id: filter_htmlcorrector
+ provider: filter
+ status: true
+ weight: 10
+ settings: { }
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: 15
settings: { }
+ filter_url:
+ id: filter_url
+ provider: filter
+ status: true
+ weight: 0
+ settings:
+ filter_url_length: 72
+ media_embed:
+ id: media_embed
+ provider: media
+ status: true
+ weight: 100
+ settings:
+ default_view_mode: default
+ allowed_view_modes: { }
+ allowed_media_types: { }
diff --git a/config/default/filter.format.full_html.yml b/config/default/filter.format.full_html.yml
index 6072e26..4a28c7f 100644
--- a/config/default/filter.format.full_html.yml
+++ b/config/default/filter.format.full_html.yml
@@ -1,4 +1,4 @@
-uuid: 07d1ebfd-ff97-43cd-bfb8-635e4ebc0d02
+uuid: 9da39595-e3cd-4295-bedc-1f90483a7d9a
langcode: en
status: true
dependencies:
diff --git a/config/default/filter.format.plain_text.yml b/config/default/filter.format.plain_text.yml
index 2a63753..9babc6b 100644
--- a/config/default/filter.format.plain_text.yml
+++ b/config/default/filter.format.plain_text.yml
@@ -1,4 +1,4 @@
-uuid: 34a95886-0e3b-4246-b9ec-355a6d1de74f
+uuid: d12a0d39-8fc8-49cb-86c5-92d4c158f3e0
langcode: en
status: true
dependencies: { }
diff --git a/config/default/filter.format.restricted_html.yml b/config/default/filter.format.restricted_html.yml
index f533483..fd6580a 100644
--- a/config/default/filter.format.restricted_html.yml
+++ b/config/default/filter.format.restricted_html.yml
@@ -1,4 +1,4 @@
-uuid: 82fe348d-95c1-4c90-9ab9-ad8f99221078
+uuid: ad124217-e18e-4d50-93ab-62cae80f4a0b
langcode: en
status: true
dependencies: { }
diff --git a/config/default/image.style.large.yml b/config/default/image.style.large.yml
index e1bc05f..793f55b 100644
--- a/config/default/image.style.large.yml
+++ b/config/default/image.style.large.yml
@@ -1,9 +1,9 @@
-uuid: e59b0779-df13-436e-9cf8-f35c020a1d83
+uuid: a1e3f70c-7f0a-40e9-a2a0-1f20a1eedede
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: rDR2BOewa2UFH9yG4tVvrGxEVv8U7LQo-RLkJhFpERs
+ default_config_hash: J2n0RpFzS0-bgSyxjs6rSdgxB1rb-bTAgqywNx_964M
name: large
label: 'Large (480×480)'
effects:
@@ -15,9 +15,3 @@ effects:
width: 480
height: 480
upscale: false
- 6e8fe467-84c1-4ef0-a73b-7eccf1cc20e8:
- uuid: 6e8fe467-84c1-4ef0-a73b-7eccf1cc20e8
- id: image_convert
- weight: 2
- data:
- extension: webp
diff --git a/config/default/image.style.medium.yml b/config/default/image.style.medium.yml
index 05214fc..46cba24 100644
--- a/config/default/image.style.medium.yml
+++ b/config/default/image.style.medium.yml
@@ -1,9 +1,9 @@
-uuid: 225e806e-c2ca-4b34-a725-8e85a647b8b6
+uuid: 78b8596a-e4b2-4fe4-a75a-c89fa67efbb3
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: dlar76VBuGj5iMGTruB_uMZX8VbivXt9_QLemaG2q4E
+ default_config_hash: Y9NmnZHQq20ASSyTNA6JnwtWrJJiSajOehGDtmUFdM0
name: medium
label: 'Medium (220×220)'
effects:
@@ -15,9 +15,3 @@ effects:
width: 220
height: 220
upscale: false
- c410ed2f-aa30-4d9c-a224-d2865d9188cd:
- uuid: c410ed2f-aa30-4d9c-a224-d2865d9188cd
- id: image_convert
- weight: 2
- data:
- extension: webp
diff --git a/config/default/image.style.thumbnail.yml b/config/default/image.style.thumbnail.yml
index 03f07e2..c702bdf 100644
--- a/config/default/image.style.thumbnail.yml
+++ b/config/default/image.style.thumbnail.yml
@@ -1,9 +1,9 @@
-uuid: 04e80adb-1e0c-4c5b-9c3f-f57f0e7f098e
+uuid: c52c93db-7172-4cd1-b206-7ef9dae95046
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: BgeBV-xOFINMsz-y2thm45EGesj6bRM6DTLZ6ce3V9I
+ default_config_hash: cCiWdBHgLwj5omG35lsKc4LkW4MBdmcctkVop4ol5x0
name: thumbnail
label: 'Thumbnail (100×100)'
effects:
@@ -15,9 +15,3 @@ effects:
width: 100
height: 100
upscale: false
- c4eb9942-2c9e-4a81-949f-6161a44b6559:
- uuid: c4eb9942-2c9e-4a81-949f-6161a44b6559
- id: image_convert
- weight: 2
- data:
- extension: webp
diff --git a/config/default/image.style.wide.yml b/config/default/image.style.wide.yml
index fc49f7a..3975e99 100644
--- a/config/default/image.style.wide.yml
+++ b/config/default/image.style.wide.yml
@@ -1,9 +1,9 @@
-uuid: 492b6b2f-ec38-4e07-b0d7-044027b075ac
+uuid: 84c6b897-074e-45d0-af83-f3269dc5d427
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: XHh3ATMH7z4ljwmzdndM47qNMkgLnoYsP98rGxVgCOw
+ default_config_hash: LswCVLg8z4Zk1u6pV1Dpj1qUj5YY2CQ7_ojx7bJQ8qk
name: wide
label: 'Wide (1090)'
effects:
@@ -15,9 +15,3 @@ effects:
width: 1090
height: null
upscale: false
- 294c5f76-42a4-43ce-82c2-81c2f4723da0:
- uuid: 294c5f76-42a4-43ce-82c2-81c2f4723da0
- id: image_convert
- weight: 2
- data:
- extension: webp
diff --git a/config/default/media.settings.yml b/config/default/media.settings.yml
new file mode 100644
index 0000000..d54f078
--- /dev/null
+++ b/config/default/media.settings.yml
@@ -0,0 +1,6 @@
+_core:
+ default_config_hash: WCFqLQAxMw1weToDJEhfnW1Z-iOF7cqMdL8X7YTFxBA
+icon_base_uri: 'public://media-icons/generic'
+iframe_domain: null
+oembed_providers_url: 'https://oembed.com/providers.json'
+standalone_url: false
diff --git a/config/default/media.type.audio.yml b/config/default/media.type.audio.yml
new file mode 100644
index 0000000..2ca765b
--- /dev/null
+++ b/config/default/media.type.audio.yml
@@ -0,0 +1,16 @@
+uuid: b4df3d77-990c-451c-807b-a19398480589
+langcode: en
+status: true
+dependencies: { }
+_core:
+ default_config_hash: eJw8n6Tk2tO3ZysuEeGR1gZa1yRffaZzR4t0Q7iNurs
+id: audio
+label: Audio
+description: 'A locally hosted audio file.'
+source: audio_file
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_audio_file
+field_map:
+ name: name
diff --git a/config/default/media.type.document.yml b/config/default/media.type.document.yml
new file mode 100644
index 0000000..8d618a5
--- /dev/null
+++ b/config/default/media.type.document.yml
@@ -0,0 +1,16 @@
+uuid: 1e783d0b-592f-462a-ac1d-940b798ebc7b
+langcode: en
+status: true
+dependencies: { }
+_core:
+ default_config_hash: _D9q3XSnP6ik9we9UuoTvZsQKPuYNp_G9PfwVtWzgnQ
+id: document
+label: Document
+description: 'An uploaded file or document, such as a PDF.'
+source: file
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_document
+field_map:
+ name: name
diff --git a/config/default/media.type.image.yml b/config/default/media.type.image.yml
new file mode 100644
index 0000000..38d4355
--- /dev/null
+++ b/config/default/media.type.image.yml
@@ -0,0 +1,16 @@
+uuid: 876933ec-1232-448e-8b2c-8a4b76127ba9
+langcode: en
+status: true
+dependencies: { }
+_core:
+ default_config_hash: 6Qope5wG7HUpV0tPOBMtDI_GZkHFcF1Xj4hgD9Cu_hM
+id: image
+label: Image
+description: 'Use local images for reusable media.'
+source: image
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_image
+field_map:
+ name: name
diff --git a/config/default/media.type.remote_video.yml b/config/default/media.type.remote_video.yml
new file mode 100644
index 0000000..245de1a
--- /dev/null
+++ b/config/default/media.type.remote_video.yml
@@ -0,0 +1,20 @@
+uuid: 6e7dce17-79ef-4831-8752-4e6e771b0a08
+langcode: en
+status: true
+dependencies: { }
+_core:
+ default_config_hash: hIBTnDGgDKnCiP6HUZm1m7600DHUEpC6FN3LQ4sUgZ4
+id: remote_video
+label: 'Remote video'
+description: 'A remotely hosted video from YouTube or Vimeo.'
+source: 'oembed:video'
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_oembed_video
+ thumbnails_directory: 'public://oembed_thumbnails/[date:custom:Y-m]'
+ providers:
+ - YouTube
+ - Vimeo
+field_map:
+ title: name
diff --git a/config/default/media.type.video.yml b/config/default/media.type.video.yml
new file mode 100644
index 0000000..730c406
--- /dev/null
+++ b/config/default/media.type.video.yml
@@ -0,0 +1,16 @@
+uuid: b5f9378b-5112-4bf8-8c28-ec78ad3714f5
+langcode: en
+status: true
+dependencies: { }
+_core:
+ default_config_hash: hzgvcRgZHltqWf8hBmttoWh95tCJoPL25lPq9YSIRsY
+id: video
+label: Video
+description: 'A locally hosted video file.'
+source: video_file
+queue_thumbnail_downloads: false
+new_revision: true
+source_configuration:
+ source_field: field_media_video_file
+field_map:
+ name: name
diff --git a/config/default/node.type.article.yml b/config/default/node.type.article.yml
index 3b09eef..2be25e4 100644
--- a/config/default/node.type.article.yml
+++ b/config/default/node.type.article.yml
@@ -1,13 +1,13 @@
-uuid: 874f7ad8-e6d2-47e7-9716-8f3d5d198366
+uuid: ef481581-4bf3-47b4-bc1f-843227afa8d3
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: Fe3N1uqaAyyKJbVkqT-btXy3t98puW8GCRD822xjl10
+ default_config_hash: AeW1SEDgb1OTQACAWGhzvMknMYAJlcZu0jljfeU3oso
name: Article
type: article
description: 'Use articles for time-sensitive content like news, press releases or blog posts.'
-help: null
+help: ''
new_revision: true
preview_mode: 1
display_submitted: true
diff --git a/config/default/node.type.budget.yml b/config/default/node.type.budget.yml
new file mode 100644
index 0000000..8854015
--- /dev/null
+++ b/config/default/node.type.budget.yml
@@ -0,0 +1,18 @@
+uuid: 8e3d61d8-6b7c-40df-afa9-adfcf2d1d37e
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Budget
+type: budget
+description: 'A budget for a year.'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/config/default/node.type.fight.yml b/config/default/node.type.fight.yml
new file mode 100644
index 0000000..a470648
--- /dev/null
+++ b/config/default/node.type.fight.yml
@@ -0,0 +1,20 @@
+uuid: 58dd5a4f-c2b6-490c-8d82-109621022e9a
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+_core:
+ default_config_hash: '-oNx4Ml6aAH2vsCaF2Xf1lO994OOn3LlkHRzDs-CacA'
+name: Fight
+type: fight
+description: 'A fight between two fighters.'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/config/default/node.type.fighter.yml b/config/default/node.type.fighter.yml
new file mode 100644
index 0000000..0558b54
--- /dev/null
+++ b/config/default/node.type.fighter.yml
@@ -0,0 +1,20 @@
+uuid: 8af5329d-7e64-4606-b474-e623bdc143d3
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+_core:
+ default_config_hash: cnV8ZFMmV0F85P7RKCraA1vQc576ElQMYcw86QILGTs
+name: Fighter
+type: fighter
+description: 'A fighter.'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/config/default/node.type.page.yml b/config/default/node.type.page.yml
index 8b3c280..53b04cb 100644
--- a/config/default/node.type.page.yml
+++ b/config/default/node.type.page.yml
@@ -1,13 +1,13 @@
-uuid: 620396db-8d04-4633-b1ad-f941b3e5dbe3
+uuid: a1065b81-d7a0-46bc-a1bf-44a0b76450ff
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: i0snV8Wj--OkRW12UdachUiYiz3FbeMwHu_pZYfzKLc
+ default_config_hash: KuyA4NHPXcmKAjRtwa0vQc2ZcyrUJy6IlS2TAyMNRbc
name: 'Basic page'
type: page
description: "Use basic pages for your static content, such as an 'About us' page."
-help: null
+help: ''
new_revision: true
preview_mode: 1
display_submitted: false
diff --git a/config/default/pathauto.pattern.articles.yml b/config/default/pathauto.pattern.articles.yml
new file mode 100644
index 0000000..7762566
--- /dev/null
+++ b/config/default/pathauto.pattern.articles.yml
@@ -0,0 +1,22 @@
+uuid: dbe1d515-ee94-45a4-954e-c980fea29913
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: articles
+label: Articles
+type: 'canonical_entities:node'
+pattern: '/article/[node:title]'
+selection_criteria:
+ 4a562aa2-4f48-49f0-8c34-32e854ea8880:
+ id: 'entity_bundle:node'
+ negate: false
+ uuid: 4a562aa2-4f48-49f0-8c34-32e854ea8880
+ context_mapping:
+ node: node
+ bundles:
+ article: article
+selection_logic: and
+weight: -5
+relationships: { }
diff --git a/config/default/pathauto.pattern.fights.yml b/config/default/pathauto.pattern.fights.yml
new file mode 100644
index 0000000..0d2dd99
--- /dev/null
+++ b/config/default/pathauto.pattern.fights.yml
@@ -0,0 +1,22 @@
+uuid: 4ab9533e-d5c9-4583-8d1a-ee3b74c91eef
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: fights
+label: Fights
+type: 'canonical_entities:node'
+pattern: '/fight/[node:title]'
+selection_criteria:
+ 9022da84-04b3-4e0c-9d1a-0c8d1d17e6fc:
+ id: 'entity_bundle:node'
+ negate: false
+ uuid: 9022da84-04b3-4e0c-9d1a-0c8d1d17e6fc
+ context_mapping:
+ node: node
+ bundles:
+ fight: fight
+selection_logic: and
+weight: -5
+relationships: { }
diff --git a/config/default/pathauto.settings.yml b/config/default/pathauto.settings.yml
new file mode 100644
index 0000000..acfd943
--- /dev/null
+++ b/config/default/pathauto.settings.yml
@@ -0,0 +1,22 @@
+_core:
+ default_config_hash: SwvLp8snyPEExF41CaJJYdPUVomofLqtXvwciHc4cPg
+enabled_entity_types:
+ - user
+punctuation:
+ hyphen: 1
+verbose: false
+separator: '-'
+max_length: 100
+max_component_length: 100
+transliterate: true
+reduce_ascii: false
+case: true
+ignore_words: 'a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with'
+update_action: 2
+safe_tokens:
+ - alias
+ - path
+ - join-path
+ - login-url
+ - url
+ - url-brief
diff --git a/config/default/search.page.help_search.yml b/config/default/search.page.help_search.yml
index 02efbad..1f9d976 100644
--- a/config/default/search.page.help_search.yml
+++ b/config/default/search.page.help_search.yml
@@ -1,4 +1,4 @@
-uuid: 48de3acd-4d8e-47af-81de-dbcf7e73f115
+uuid: 6105a375-facd-452a-9230-9d1f2dc44ace
langcode: en
status: true
dependencies:
diff --git a/config/default/search.page.node_search.yml b/config/default/search.page.node_search.yml
index 804cd93..83395d1 100644
--- a/config/default/search.page.node_search.yml
+++ b/config/default/search.page.node_search.yml
@@ -1,4 +1,4 @@
-uuid: 0e2811ab-bd0a-41fe-851e-e5789993d24d
+uuid: 7d636e06-c77d-442c-bba9-d99e1d8b30d7
langcode: en
status: true
dependencies:
diff --git a/config/default/search.page.user_search.yml b/config/default/search.page.user_search.yml
index 8128532..6c3a7fc 100644
--- a/config/default/search.page.user_search.yml
+++ b/config/default/search.page.user_search.yml
@@ -1,4 +1,4 @@
-uuid: b7ab3ae1-3f34-40dc-a5fb-e49941723f05
+uuid: c920fed7-ce20-43f7-a966-c9aac9a02d62
langcode: en
status: true
dependencies:
diff --git a/config/default/shortcut.set.default.yml b/config/default/shortcut.set.default.yml
index 09d95b2..af85d6e 100644
--- a/config/default/shortcut.set.default.yml
+++ b/config/default/shortcut.set.default.yml
@@ -1,4 +1,4 @@
-uuid: 670e952b-770a-4894-9cc0-3ce8323f66a7
+uuid: d9e5cdb5-03c1-4450-9c40-36ec010ceb1b
langcode: en
status: true
dependencies: { }
diff --git a/config/default/system.action.comment_delete_action.yml b/config/default/system.action.comment_delete_action.yml
index ee81356..c8812ba 100644
--- a/config/default/system.action.comment_delete_action.yml
+++ b/config/default/system.action.comment_delete_action.yml
@@ -1,4 +1,4 @@
-uuid: a5318077-c7ce-4a82-ba19-230b231cf7f1
+uuid: f28ce3b9-90ba-49c5-a222-37ad6a7eaf48
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.comment_publish_action.yml b/config/default/system.action.comment_publish_action.yml
index 303159c..d157c44 100644
--- a/config/default/system.action.comment_publish_action.yml
+++ b/config/default/system.action.comment_publish_action.yml
@@ -1,4 +1,4 @@
-uuid: a28467bb-d1ab-4349-8556-e265c9281c51
+uuid: b9830b09-7a52-40cb-9667-ff37f99e106b
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.comment_save_action.yml b/config/default/system.action.comment_save_action.yml
index e6d7867..72fd1a3 100644
--- a/config/default/system.action.comment_save_action.yml
+++ b/config/default/system.action.comment_save_action.yml
@@ -1,4 +1,4 @@
-uuid: 49b2be43-57be-483a-954f-5bdbf1c2e637
+uuid: 35d716fd-250a-4843-85f7-1cc7917dd375
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.comment_unpublish_action.yml b/config/default/system.action.comment_unpublish_action.yml
index c70aeb6..fe71168 100644
--- a/config/default/system.action.comment_unpublish_action.yml
+++ b/config/default/system.action.comment_unpublish_action.yml
@@ -1,4 +1,4 @@
-uuid: 7aa427e9-f14f-4beb-a9b9-38190901d388
+uuid: 79c95e96-d26a-40de-93ab-981329a49e24
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.media_delete_action.yml b/config/default/system.action.media_delete_action.yml
new file mode 100644
index 0000000..ed5aeb1
--- /dev/null
+++ b/config/default/system.action.media_delete_action.yml
@@ -0,0 +1,13 @@
+uuid: bee64426-d49d-49da-93f3-66acc17fc8de
+langcode: en
+status: true
+dependencies:
+ module:
+ - media
+_core:
+ default_config_hash: FrZy1tmuXJcOxhXlBoI1Hsnen5TT-9OCC1iolWH84go
+id: media_delete_action
+label: 'Delete media'
+type: media
+plugin: 'entity:delete_action:media'
+configuration: { }
diff --git a/config/default/system.action.media_publish_action.yml b/config/default/system.action.media_publish_action.yml
new file mode 100644
index 0000000..6640b3f
--- /dev/null
+++ b/config/default/system.action.media_publish_action.yml
@@ -0,0 +1,13 @@
+uuid: 5d52eccc-9517-48e2-bb32-88e25f00de02
+langcode: en
+status: true
+dependencies:
+ module:
+ - media
+_core:
+ default_config_hash: nh83qNNrmWE-CDdHz2MdFOAk60T9mzv3R-MaKfZR2jw
+id: media_publish_action
+label: 'Publish media'
+type: media
+plugin: 'entity:publish_action:media'
+configuration: { }
diff --git a/config/default/system.action.media_save_action.yml b/config/default/system.action.media_save_action.yml
new file mode 100644
index 0000000..7695052
--- /dev/null
+++ b/config/default/system.action.media_save_action.yml
@@ -0,0 +1,13 @@
+uuid: 5eebbec3-c92c-4fa9-a0aa-7d8f9b7ec0e1
+langcode: en
+status: true
+dependencies:
+ module:
+ - media
+_core:
+ default_config_hash: VVyUA6PIaVeGtcIbgEWqJ6SYDiJdReBeojFswURFpKs
+id: media_save_action
+label: 'Save media'
+type: media
+plugin: 'entity:save_action:media'
+configuration: { }
diff --git a/config/default/system.action.media_unpublish_action.yml b/config/default/system.action.media_unpublish_action.yml
new file mode 100644
index 0000000..9a0405a
--- /dev/null
+++ b/config/default/system.action.media_unpublish_action.yml
@@ -0,0 +1,13 @@
+uuid: b9a7fdf0-3a90-4a99-bf6a-28f2170210d7
+langcode: en
+status: true
+dependencies:
+ module:
+ - media
+_core:
+ default_config_hash: CsK6TseQ2DatEbZgbd30swOlZ28_HHwAESU2LvEnWq0
+id: media_unpublish_action
+label: 'Unpublish media'
+type: media
+plugin: 'entity:unpublish_action:media'
+configuration: { }
diff --git a/config/default/system.action.node_delete_action.yml b/config/default/system.action.node_delete_action.yml
index 101f1b3..b571cbd 100644
--- a/config/default/system.action.node_delete_action.yml
+++ b/config/default/system.action.node_delete_action.yml
@@ -1,4 +1,4 @@
-uuid: 7a6f4bd3-5adc-40a8-8396-219d506ae26a
+uuid: 1eddaf16-c8ca-4686-b25c-0a0a89fdc7e2
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_make_sticky_action.yml b/config/default/system.action.node_make_sticky_action.yml
index 89e27fd..41dda16 100644
--- a/config/default/system.action.node_make_sticky_action.yml
+++ b/config/default/system.action.node_make_sticky_action.yml
@@ -1,4 +1,4 @@
-uuid: 358612bc-3990-4731-b390-0fd7ae3f4a14
+uuid: 3b018898-257a-4238-9e6e-017d84499e63
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_make_unsticky_action.yml b/config/default/system.action.node_make_unsticky_action.yml
index b79bf54..6c48ba4 100644
--- a/config/default/system.action.node_make_unsticky_action.yml
+++ b/config/default/system.action.node_make_unsticky_action.yml
@@ -1,4 +1,4 @@
-uuid: b49614ff-a42f-4084-b54b-814908d6cb18
+uuid: e4699f45-2947-4558-ac29-a20bfc0cd419
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_promote_action.yml b/config/default/system.action.node_promote_action.yml
index a6f71d9..1f65a27 100644
--- a/config/default/system.action.node_promote_action.yml
+++ b/config/default/system.action.node_promote_action.yml
@@ -1,4 +1,4 @@
-uuid: c9d721f7-c546-408e-a739-20b6cf36d793
+uuid: 60fd6e8a-f9b8-4cb5-b273-c814d8555c12
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_publish_action.yml b/config/default/system.action.node_publish_action.yml
index ef5515c..c5f19ad 100644
--- a/config/default/system.action.node_publish_action.yml
+++ b/config/default/system.action.node_publish_action.yml
@@ -1,4 +1,4 @@
-uuid: bdc3ec1f-e7b0-4039-bc18-235ebfc1d1de
+uuid: 7768bd97-6f4c-4edc-8a13-56f38e03362c
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_save_action.yml b/config/default/system.action.node_save_action.yml
index 9a5d0f5..7d503b0 100644
--- a/config/default/system.action.node_save_action.yml
+++ b/config/default/system.action.node_save_action.yml
@@ -1,4 +1,4 @@
-uuid: 237ca823-8df2-4b89-bf43-dc1be7a59236
+uuid: cf5ef6c2-b6d6-470c-839a-71ee307f8f3d
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_unpromote_action.yml b/config/default/system.action.node_unpromote_action.yml
index 8fbfd5f..e8d688e 100644
--- a/config/default/system.action.node_unpromote_action.yml
+++ b/config/default/system.action.node_unpromote_action.yml
@@ -1,4 +1,4 @@
-uuid: 5f84f797-5603-4f4b-a6cf-de18a10c6b69
+uuid: 4f39fec0-b8d7-45aa-9f69-494d423dca98
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.node_unpublish_action.yml b/config/default/system.action.node_unpublish_action.yml
index c7c68d7..a22cace 100644
--- a/config/default/system.action.node_unpublish_action.yml
+++ b/config/default/system.action.node_unpublish_action.yml
@@ -1,4 +1,4 @@
-uuid: 8e90a6d5-4f7c-46c1-bee9-4cb0823e8b40
+uuid: b895baaa-16e7-4cef-be36-ff6cffcbc6ba
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.pathauto_update_alias_node.yml b/config/default/system.action.pathauto_update_alias_node.yml
new file mode 100644
index 0000000..08d5f36
--- /dev/null
+++ b/config/default/system.action.pathauto_update_alias_node.yml
@@ -0,0 +1,16 @@
+uuid: e358f4a8-3afe-4bb8-a384-63550d96f4b6
+langcode: en
+status: true
+dependencies:
+ module:
+ - pathauto
+ enforced:
+ module:
+ - node
+_core:
+ default_config_hash: lno8QThS348UX-kaUsagJtCnuPHKLXYnTQiF_9HSDWA
+id: pathauto_update_alias_node
+label: 'Update URL alias'
+type: node
+plugin: pathauto_update_alias
+configuration: { }
diff --git a/config/default/system.action.pathauto_update_alias_user.yml b/config/default/system.action.pathauto_update_alias_user.yml
new file mode 100644
index 0000000..662919c
--- /dev/null
+++ b/config/default/system.action.pathauto_update_alias_user.yml
@@ -0,0 +1,16 @@
+uuid: 7b76b9e8-4744-4324-ba2b-d84007fd50dd
+langcode: en
+status: true
+dependencies:
+ module:
+ - pathauto
+ enforced:
+ module:
+ - user
+_core:
+ default_config_hash: x_ok_ZsfA4Xk4B_hVW3O4-3PcNoK57nXLz_Dlletidg
+id: pathauto_update_alias_user
+label: 'Update URL alias'
+type: user
+plugin: pathauto_update_alias
+configuration: { }
diff --git a/config/default/system.action.taxonomy_term_publish_action.yml b/config/default/system.action.taxonomy_term_publish_action.yml
index 9bfb09d..2f4db4f 100644
--- a/config/default/system.action.taxonomy_term_publish_action.yml
+++ b/config/default/system.action.taxonomy_term_publish_action.yml
@@ -1,4 +1,4 @@
-uuid: 3547be16-774b-4dec-8d0e-85b756f5c2eb
+uuid: e086795f-d481-4702-94b3-36f7a1a1f0cb
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.taxonomy_term_unpublish_action.yml b/config/default/system.action.taxonomy_term_unpublish_action.yml
index 4fc9156..6629548 100644
--- a/config/default/system.action.taxonomy_term_unpublish_action.yml
+++ b/config/default/system.action.taxonomy_term_unpublish_action.yml
@@ -1,4 +1,4 @@
-uuid: 4cc657c1-bbb9-4e99-8833-21010dea0479
+uuid: e9ad6447-65da-4112-b014-9ca7836be913
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_add_role_action.administrator.yml b/config/default/system.action.user_add_role_action.administrator.yml
index 1037369..2b0a8f2 100644
--- a/config/default/system.action.user_add_role_action.administrator.yml
+++ b/config/default/system.action.user_add_role_action.administrator.yml
@@ -1,4 +1,4 @@
-uuid: 37911e08-6b95-468d-a98e-6a45aa15c196
+uuid: 30386321-2358-4a79-bb7e-b49222d51102
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_add_role_action.content_editor.yml b/config/default/system.action.user_add_role_action.content_editor.yml
index d2d99f8..1dadb13 100644
--- a/config/default/system.action.user_add_role_action.content_editor.yml
+++ b/config/default/system.action.user_add_role_action.content_editor.yml
@@ -1,4 +1,4 @@
-uuid: f06e1a31-69ff-4a26-9940-5f2802ffa9c2
+uuid: 5bc749de-6689-4275-9eca-ae490faf3a03
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_block_user_action.yml b/config/default/system.action.user_block_user_action.yml
index 49b58db..ff2f113 100644
--- a/config/default/system.action.user_block_user_action.yml
+++ b/config/default/system.action.user_block_user_action.yml
@@ -1,4 +1,4 @@
-uuid: 80698e76-d9bb-4b85-955b-7a686c9c5f29
+uuid: 4670f685-a593-4dce-9578-d5cdf2ebff16
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_cancel_user_action.yml b/config/default/system.action.user_cancel_user_action.yml
index 5b779bd..fd7c6b1 100644
--- a/config/default/system.action.user_cancel_user_action.yml
+++ b/config/default/system.action.user_cancel_user_action.yml
@@ -1,4 +1,4 @@
-uuid: 1534618b-1de5-49fe-9bb4-9aeb48d5190b
+uuid: 87fe5600-6009-4dac-9664-55edb0e73935
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_remove_role_action.administrator.yml b/config/default/system.action.user_remove_role_action.administrator.yml
index f23c8ec..5a5bb4d 100644
--- a/config/default/system.action.user_remove_role_action.administrator.yml
+++ b/config/default/system.action.user_remove_role_action.administrator.yml
@@ -1,4 +1,4 @@
-uuid: 99c04200-ad7b-49ad-bf95-946dd4b91d73
+uuid: f17decfc-2ff0-48f2-a9da-ec9d821ec839
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_remove_role_action.content_editor.yml b/config/default/system.action.user_remove_role_action.content_editor.yml
index 95dca02..dc0d19a 100644
--- a/config/default/system.action.user_remove_role_action.content_editor.yml
+++ b/config/default/system.action.user_remove_role_action.content_editor.yml
@@ -1,4 +1,4 @@
-uuid: 72778cd0-78b2-41cc-85db-222f6e8f106a
+uuid: 33929f2e-ac25-4617-acc2-77c8d63804fc
langcode: en
status: true
dependencies:
diff --git a/config/default/system.action.user_unblock_user_action.yml b/config/default/system.action.user_unblock_user_action.yml
index d847ff3..4f82271 100644
--- a/config/default/system.action.user_unblock_user_action.yml
+++ b/config/default/system.action.user_unblock_user_action.yml
@@ -1,4 +1,4 @@
-uuid: 012742b8-fa22-47c3-b95a-c53fb76dea0d
+uuid: 6a6bdc0a-af72-411d-b1b7-88a3957c100a
langcode: en
status: true
dependencies:
diff --git a/config/default/system.menu.account.yml b/config/default/system.menu.account.yml
index 734652d..cf0b29e 100644
--- a/config/default/system.menu.account.yml
+++ b/config/default/system.menu.account.yml
@@ -1,4 +1,4 @@
-uuid: 6b63c5c8-89a2-4c11-b8a4-f1d75c6e6b81
+uuid: a7eeb1d2-76f7-4dff-acfa-3cbe54ed7363
langcode: en
status: true
dependencies: { }
diff --git a/config/default/system.menu.admin.yml b/config/default/system.menu.admin.yml
index 3187e1a..0652a96 100644
--- a/config/default/system.menu.admin.yml
+++ b/config/default/system.menu.admin.yml
@@ -1,4 +1,4 @@
-uuid: 54c309a8-7234-41c1-a8d8-79917a140005
+uuid: 160bff27-c0ed-4882-aaf8-d43313bed3b1
langcode: en
status: true
dependencies: { }
diff --git a/config/default/system.menu.footer.yml b/config/default/system.menu.footer.yml
index 375abf0..5f91ad7 100644
--- a/config/default/system.menu.footer.yml
+++ b/config/default/system.menu.footer.yml
@@ -1,4 +1,4 @@
-uuid: 2dbeacb3-f23f-4fac-8c87-f3b477826ef1
+uuid: 46758475-34b5-4754-95eb-3b2233423018
langcode: en
status: true
dependencies: { }
diff --git a/config/default/system.menu.main.yml b/config/default/system.menu.main.yml
index af12d37..d1ef1be 100644
--- a/config/default/system.menu.main.yml
+++ b/config/default/system.menu.main.yml
@@ -1,4 +1,4 @@
-uuid: 53d91cf2-1163-4e1a-a812-d246fcd8819d
+uuid: 2cc3aad6-0aa2-436d-b1ab-e2a5af84c9c5
langcode: en
status: true
dependencies: { }
diff --git a/config/default/system.menu.tools.yml b/config/default/system.menu.tools.yml
index 4e9bae7..4a8fe01 100644
--- a/config/default/system.menu.tools.yml
+++ b/config/default/system.menu.tools.yml
@@ -1,4 +1,4 @@
-uuid: 7ba8a976-3a1d-4912-b880-a079d708b29b
+uuid: 99c6dbbc-c92a-48df-8e9a-0fc2d00f942f
langcode: en
status: true
dependencies: { }
diff --git a/config/default/system.site.yml b/config/default/system.site.yml
index b2512c9..67b7084 100644
--- a/config/default/system.site.yml
+++ b/config/default/system.site.yml
@@ -1,15 +1,14 @@
_core:
- default_config_hash: ijfbzDTN4CbE7Sr-6ubWzy_t1vH4OtU1doNCLssVz-4
+ default_config_hash: VDJxTZtQR21qB4lvOq8zszJZLvLKrSPQpdn2E3T71Ww
langcode: en
-uuid: ac588e48-2272-415a-b46b-9dccaff3ec50
-name: 'My Site'
+uuid: 4c1dadab-795e-4d97-bf8a-833f30080021
+name: 'Dan Chadwick'
mail: admin@example.com
slogan: ''
page:
403: ''
404: ''
- front: /node
+ front: /node/1
admin_compact_mode: false
weight_select_max: 100
default_langcode: en
-mail_notification: null
diff --git a/config/default/taxonomy.vocabulary.tags.yml b/config/default/taxonomy.vocabulary.tags.yml
index ddf3e65..b00380d 100644
--- a/config/default/taxonomy.vocabulary.tags.yml
+++ b/config/default/taxonomy.vocabulary.tags.yml
@@ -1,11 +1,10 @@
-uuid: 22113e63-5085-4c81-93e3-683bd169512f
+uuid: 4cd70283-8877-4280-be70-e14f11981175
langcode: en
status: true
dependencies: { }
_core:
- default_config_hash: iTEzwrEQ_4JIb-OYGiqzyF2TmMgWyWayresXcWgwGWM
+ default_config_hash: yoNVreoTdTZTY7GuE8fI9Jmxqdz8vlo4ZJKixMNSosw
name: Tags
vid: tags
description: 'Use tags to group articles on similar topics into categories.'
weight: 0
-new_revision: false
diff --git a/config/default/user.role.administrator.yml b/config/default/user.role.administrator.yml
index 5e67c24..3ad7744 100644
--- a/config/default/user.role.administrator.yml
+++ b/config/default/user.role.administrator.yml
@@ -1,4 +1,4 @@
-uuid: 0122d46d-fb6e-42aa-92de-5724ca5c8546
+uuid: afe2fc02-3204-439c-933f-d6585e8256f9
langcode: en
status: true
dependencies: { }
diff --git a/config/default/user.role.anonymous.yml b/config/default/user.role.anonymous.yml
index 2f70632..1f8e6e7 100644
--- a/config/default/user.role.anonymous.yml
+++ b/config/default/user.role.anonymous.yml
@@ -1,4 +1,4 @@
-uuid: c36dff28-2039-4ed4-8e63-7aef249ec003
+uuid: e7f6da6d-573c-4d65-88dd-545215bc2429
langcode: en
status: true
dependencies:
@@ -8,6 +8,7 @@ dependencies:
- comment
- contact
- filter
+ - media
- search
- system
_core:
@@ -22,3 +23,4 @@ permissions:
- 'access site-wide contact form'
- 'search content'
- 'use text format restricted_html'
+ - 'view media'
diff --git a/config/default/user.role.authenticated.yml b/config/default/user.role.authenticated.yml
index 7143471..e08214c 100644
--- a/config/default/user.role.authenticated.yml
+++ b/config/default/user.role.authenticated.yml
@@ -1,4 +1,4 @@
-uuid: 9d86f4e9-fe75-413a-8ce0-9664c2c2432b
+uuid: 98386c53-184a-43f2-8b15-a0a8376d6447
langcode: en
status: true
dependencies:
@@ -9,6 +9,7 @@ dependencies:
- contact
- file
- filter
+ - media
- search
- shortcut
- system
@@ -28,3 +29,4 @@ permissions:
- 'search content'
- 'skip comment approval'
- 'use text format basic_html'
+ - 'view media'
diff --git a/config/default/user.role.content_editor.yml b/config/default/user.role.content_editor.yml
index 54eca32..8067b2e 100644
--- a/config/default/user.role.content_editor.yml
+++ b/config/default/user.role.content_editor.yml
@@ -1,4 +1,4 @@
-uuid: 8328f63a-ac73-4ecb-b17d-22c50d09fdc1
+uuid: 04d81b0e-6142-474a-943f-dbce73dcda0d
langcode: en
status: true
dependencies:
diff --git a/config/default/views.view.archive.yml b/config/default/views.view.archive.yml
index f0b74eb..a4e508f 100644
--- a/config/default/views.view.archive.yml
+++ b/config/default/views.view.archive.yml
@@ -1,4 +1,4 @@
-uuid: 4f07715e-a791-4820-9a34-f4e1ff52c80d
+uuid: 6b523380-9d72-453f-9c81-68541f6b5019
langcode: en
status: false
dependencies:
@@ -8,7 +8,7 @@ dependencies:
- node
- user
_core:
- default_config_hash: exIF08PTvYSK6tJCsAzBqMEKUBKIptPorMn74SVhevc
+ default_config_hash: ko9GznzNBXHkuz09OCaBQ1YOSJYYjTY0TBpNV3WKnog
id: archive
label: Archive
module: node
@@ -29,7 +29,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
diff --git a/config/default/views.view.articles.yml b/config/default/views.view.articles.yml
new file mode 100644
index 0000000..75e67c2
--- /dev/null
+++ b/config/default/views.view.articles.yml
@@ -0,0 +1,191 @@
+uuid: a74e03d1-784b-4b79-a666-433f778573fa
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.article
+ module:
+ - node
+ - user
+id: articles
+label: Articles
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+display:
+ default:
+ id: default
+ display_title: Default
+ display_plugin: default
+ position: 0
+ display_options:
+ title: Articles
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: node
+ entity_field: title
+ plugin_id: field
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ trim: false
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ settings:
+ link_to_entity: true
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ pager:
+ type: mini
+ options:
+ offset: 0
+ items_per_page: 10
+ total_pages: null
+ id: 0
+ tags:
+ next: ››
+ previous: ‹‹
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ empty: { }
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ order: DESC
+ expose:
+ label: ''
+ field_identifier: ''
+ exposed: false
+ granularity: second
+ arguments: { }
+ filters:
+ status:
+ id: status
+ table: node_field_data
+ field: status
+ entity_type: node
+ entity_field: status
+ plugin_id: boolean
+ value: '1'
+ group: 1
+ expose:
+ operator: ''
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ value:
+ article: article
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ query:
+ type: views_query
+ options:
+ query_comment: ''
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_tags: { }
+ relationships: { }
+ header: { }
+ footer: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ id: page_1
+ display_title: Page
+ display_plugin: page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: articles
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/config/default/views.view.block_content.yml b/config/default/views.view.block_content.yml
index 2d325cc..73b23bd 100644
--- a/config/default/views.view.block_content.yml
+++ b/config/default/views.view.block_content.yml
@@ -1,4 +1,4 @@
-uuid: b4dd4eb8-c728-457c-9937-9d69605490c5
+uuid: afb05972-cd63-4b0a-832d-4ac620807ec0
langcode: en
status: true
dependencies:
@@ -6,7 +6,7 @@ dependencies:
- block_content
- user
_core:
- default_config_hash: HfvTcWhiVuvxchoh4DjIkXhKkj9ow2TGgHkLHSvRLq8
+ default_config_hash: AcOE_1RLjX4okjWSOk7Pen1IdtPsY0Nbn0HXWG3zMqc
id: block_content
label: 'Content blocks'
module: views
@@ -273,7 +273,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
diff --git a/config/default/views.view.comment.yml b/config/default/views.view.comment.yml
index 50c446d..ed2d3f7 100644
--- a/config/default/views.view.comment.yml
+++ b/config/default/views.view.comment.yml
@@ -1,4 +1,4 @@
-uuid: 4952a7d7-a3a0-4063-9e7b-a30f864ce5af
+uuid: 01a18438-4dc7-4bf6-9048-1ab10b52c8d8
langcode: en
status: true
dependencies:
@@ -6,7 +6,7 @@ dependencies:
- comment
- user
_core:
- default_config_hash: H6JHGXl97yOKmVaV62SoY1ki1tWVdyD44fgOkdmVyRM
+ default_config_hash: WFURZFZFHS9S7tEJJqOd6ucYexi84JiyQxE5suLP7D8
id: comment
label: Comments
module: comment
@@ -533,7 +533,6 @@ display:
type: full
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
diff --git a/config/default/views.view.comments_recent.yml b/config/default/views.view.comments_recent.yml
index 0873f56..c60eced 100644
--- a/config/default/views.view.comments_recent.yml
+++ b/config/default/views.view.comments_recent.yml
@@ -1,4 +1,4 @@
-uuid: f825605b-96d5-4edf-8d64-0663e0404811
+uuid: 69bda7bc-e3e5-40f4-9ce9-c96b3b14c555
langcode: en
status: true
dependencies:
@@ -7,7 +7,7 @@ dependencies:
- node
- user
_core:
- default_config_hash: cFOucxH8PAXDQ2kViCcAHgK-JMCcxVkpIMzD56EfpZo
+ default_config_hash: S_NN2ubd_NovTfgzbHVlZMmIJJQS-3h9h3inzbaFUMY
id: comments_recent
label: 'Recent comments'
module: views
@@ -185,7 +185,7 @@ display:
admin_label: ''
entity_type: comment
entity_field: cid
- plugin_id: standard
+ plugin_id: field
order: DESC
expose:
label: ''
diff --git a/config/default/views.view.content.yml b/config/default/views.view.content.yml
index a2862a2..b8ed9f5 100644
--- a/config/default/views.view.content.yml
+++ b/config/default/views.view.content.yml
@@ -1,4 +1,4 @@
-uuid: 7f22b34f-0bc0-4df3-83f6-4deb17b9b6bb
+uuid: 21bb1685-cc36-4485-87d8-b03fc7cf63af
langcode: en
status: true
dependencies:
@@ -6,7 +6,7 @@ dependencies:
- node
- user
_core:
- default_config_hash: whBYBAcXQuQblGEdvQ9QfGuuW3zC49F2-5vXSm1slFM
+ default_config_hash: 3ELwBpDb9lzqW5-daqjZYsC5lNcwbDS_i_-LKba12Lw
id: content
label: Content
module: node
@@ -196,72 +196,6 @@ display:
past_format: '@interval ago'
granularity: 2
refresh: 60
- langcode:
- id: langcode
- table: node_field_data
- field: langcode
- relationship: none
- group_type: group
- admin_label: ''
- entity_type: node
- entity_field: langcode
- plugin_id: field
- label: Language
- 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: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_empty: false
- empty_zero: false
- hide_alter_empty: true
- click_sort_column: value
- type: language
- settings:
- link_to_entity: false
- native_language: false
- group_column: value
- group_columns: { }
- group_rows: true
- delta_limit: 0
- delta_offset: 0
- delta_reversed: false
- delta_first_last: false
- multi_type: separator
- separator: ', '
- field_api_classes: false
operations:
id: operations
table: node
@@ -315,7 +249,6 @@ display:
pager:
type: full
options:
- pagination_heading_level: h4
items_per_page: 50
tags:
next: 'Next ›'
diff --git a/config/default/views.view.content_recent.yml b/config/default/views.view.content_recent.yml
index 377c882..2516be1 100644
--- a/config/default/views.view.content_recent.yml
+++ b/config/default/views.view.content_recent.yml
@@ -1,4 +1,4 @@
-uuid: fd0345f7-78e5-43fe-b26a-854fcc49aed8
+uuid: eb0a8385-f176-44cd-8b88-1fadace31a9e
langcode: en
status: true
dependencies:
diff --git a/config/default/views.view.files.yml b/config/default/views.view.files.yml
index 519186c..9dd54de 100644
--- a/config/default/views.view.files.yml
+++ b/config/default/views.view.files.yml
@@ -1,4 +1,4 @@
-uuid: bd5b7a72-e1b6-456e-b7a8-8726ac35c9ad
+uuid: 5addc0ba-dc9b-48ef-ba5d-8382fa122b27
langcode: en
status: true
dependencies:
@@ -6,7 +6,7 @@ dependencies:
- file
- user
_core:
- default_config_hash: blP1XdpU4RqVoA_8po7qnIokIbHB6DJt0lpilgY5ovM
+ default_config_hash: ja1IXL3-eSj1lJFQKxyY6-b0yfBsQzvngMbe0J2F22w
id: files
label: Files
module: file
@@ -521,7 +521,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 50
total_pages: 0
id: 0
@@ -1057,7 +1056,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
diff --git a/config/default/views.view.frontpage.yml b/config/default/views.view.frontpage.yml
index 4a24c15..982fc16 100644
--- a/config/default/views.view.frontpage.yml
+++ b/config/default/views.view.frontpage.yml
@@ -1,4 +1,4 @@
-uuid: c9c6818e-8151-4423-8438-2f09ef25e5a2
+uuid: cf2e8b4e-dfd8-4c93-9f50-410f8e0150a3
langcode: en
status: true
dependencies:
@@ -9,7 +9,7 @@ dependencies:
- node
- user
_core:
- default_config_hash: OEEnRQIjfIaCFRsz8U3VqDrE82ltQKlo8wNbQJRZXu0
+ default_config_hash: 6eeliKIydPjqyv5V__QqTfahvJMWkHjOVUUuUIdB1ik
id: frontpage
label: Frontpage
module: node
@@ -30,7 +30,6 @@ display:
type: full
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
@@ -110,7 +109,7 @@ display:
admin_label: ''
entity_type: node
entity_field: sticky
- plugin_id: standard
+ plugin_id: boolean
order: DESC
expose:
label: ''
diff --git a/config/default/views.view.glossary.yml b/config/default/views.view.glossary.yml
index 8bf55cb..85efa65 100644
--- a/config/default/views.view.glossary.yml
+++ b/config/default/views.view.glossary.yml
@@ -1,4 +1,4 @@
-uuid: 1e26ebc3-ee3f-4484-a0f8-92e0c446ae02
+uuid: 16a3bc23-bb8c-4af9-aaae-ea3c6a4a6c13
langcode: en
status: false
dependencies:
@@ -8,7 +8,7 @@ dependencies:
- node
- user
_core:
- default_config_hash: r-klgGeO4haVHqAwxW1HXZLzdzLSMUVC08OuTBrRh58
+ default_config_hash: nmnCpWLsIDkgaZEKlzl9uYT7NYEM_5uKzQtTbvkl878
id: glossary
label: Glossary
module: node
@@ -196,7 +196,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 36
total_pages: 0
id: 0
diff --git a/config/default/views.view.media.yml b/config/default/views.view.media.yml
new file mode 100644
index 0000000..9adbd9b
--- /dev/null
+++ b/config/default/views.view.media.yml
@@ -0,0 +1,919 @@
+uuid: c28d3b33-6f01-44b5-a1ed-3d5ef63b7999
+langcode: en
+status: true
+dependencies:
+ config:
+ - image.style.thumbnail
+ module:
+ - image
+ - media
+ - user
+_core:
+ default_config_hash: 27loqXfECE8tWznkMVYi7qOU8oCYFgn5MEysgZQQOV8
+id: media
+label: Media
+module: views
+description: 'Find and manage media.'
+tag: ''
+base_table: media_field_data
+base_field: mid
+display:
+ default:
+ id: default
+ display_title: Default
+ display_plugin: default
+ position: 0
+ display_options:
+ title: Media
+ fields:
+ media_bulk_form:
+ id: media_bulk_form
+ table: media
+ field: media_bulk_form
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ plugin_id: bulk_form
+ 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
+ action_title: Action
+ include_exclude: exclude
+ selected_actions: { }
+ thumbnail__target_id:
+ id: thumbnail__target_id
+ table: media_field_data
+ field: thumbnail__target_id
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: thumbnail
+ plugin_id: field
+ label: Thumbnail
+ 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: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: image
+ settings:
+ image_link: ''
+ image_style: thumbnail
+ image_loading:
+ attribute: lazy
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ name:
+ id: name
+ table: media_field_data
+ field: name
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: media
+ plugin_id: field
+ label: 'Media name'
+ exclude: false
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ trim: false
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ settings:
+ link_to_entity: true
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ bundle:
+ id: bundle
+ table: media_field_data
+ field: bundle
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: bundle
+ plugin_id: field
+ label: Type
+ 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: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: entity_reference_label
+ settings:
+ link: false
+ group_column: target_id
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ uid:
+ id: uid
+ table: media_field_data
+ field: uid
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: uid
+ plugin_id: field
+ label: Author
+ 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: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: entity_reference_label
+ settings:
+ link: true
+ group_column: target_id
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ status:
+ id: status
+ table: media_field_data
+ field: status
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: status
+ plugin_id: field
+ label: Status
+ 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: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: boolean
+ settings:
+ format: custom
+ format_custom_false: Unpublished
+ format_custom_true: Published
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ changed:
+ id: changed
+ table: media_field_data
+ field: changed
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: changed
+ plugin_id: field
+ label: Updated
+ 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: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: timestamp
+ settings:
+ date_format: short
+ custom_date_format: ''
+ timezone: ''
+ tooltip:
+ date_format: long
+ custom_date_format: ''
+ time_diff:
+ enabled: false
+ future_format: '@interval hence'
+ past_format: '@interval ago'
+ granularity: 2
+ refresh: 60
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ operations:
+ id: operations
+ table: media
+ field: operations
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ plugin_id: entity_operations
+ label: Operations
+ 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: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ destination: true
+ pager:
+ type: full
+ options:
+ offset: 0
+ items_per_page: 50
+ total_pages: null
+ id: 0
+ tags:
+ next: 'Next ›'
+ previous: '‹ Previous'
+ first: '« First'
+ last: 'Last »'
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ quantity: 9
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Filter
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ access:
+ type: perm
+ options:
+ perm: 'access media overview'
+ cache:
+ type: tag
+ options: { }
+ empty:
+ area_text_custom:
+ id: area_text_custom
+ table: views
+ field: area_text_custom
+ relationship: none
+ group_type: group
+ admin_label: ''
+ plugin_id: text_custom
+ empty: true
+ content: 'No media available.'
+ tokenize: false
+ sorts:
+ created:
+ id: created
+ table: media_field_data
+ field: created
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: created
+ plugin_id: date
+ order: DESC
+ expose:
+ label: ''
+ field_identifier: created
+ exposed: false
+ granularity: second
+ arguments: { }
+ filters:
+ name:
+ id: name
+ table: media_field_data
+ field: name
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: name
+ plugin_id: string
+ operator: contains
+ value: ''
+ group: 1
+ exposed: true
+ expose:
+ operator_id: name_op
+ label: 'Media name'
+ description: ''
+ use_operator: false
+ operator: name_op
+ operator_limit_selection: false
+ operator_list: { }
+ identifier: name
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ anonymous: '0'
+ administrator: '0'
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ bundle:
+ id: bundle
+ table: media_field_data
+ field: bundle
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: bundle
+ plugin_id: bundle
+ operator: in
+ value: { }
+ group: 1
+ exposed: true
+ expose:
+ operator_id: bundle_op
+ label: Type
+ description: ''
+ use_operator: false
+ operator: bundle_op
+ operator_limit_selection: false
+ operator_list: { }
+ identifier: type
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ anonymous: '0'
+ administrator: '0'
+ reduce: false
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ status:
+ id: status
+ table: media_field_data
+ field: status
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: status
+ plugin_id: boolean
+ operator: '='
+ value: '1'
+ group: 1
+ exposed: true
+ expose:
+ operator_id: ''
+ label: 'True'
+ description: null
+ use_operator: false
+ operator: status_op
+ operator_limit_selection: false
+ operator_list: { }
+ identifier: status
+ required: true
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ is_grouped: true
+ group_info:
+ label: 'Published status'
+ description: ''
+ identifier: status
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items:
+ 1:
+ title: Published
+ operator: '='
+ value: '1'
+ 2:
+ title: Unpublished
+ operator: '='
+ value: '0'
+ status_extra:
+ id: status_extra
+ table: media_field_data
+ field: status_extra
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ plugin_id: media_status
+ operator: '='
+ value: ''
+ group: 1
+ exposed: false
+ expose:
+ operator_id: ''
+ label: ''
+ description: ''
+ use_operator: false
+ operator: ''
+ operator_limit_selection: false
+ operator_list: { }
+ identifier: ''
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ langcode:
+ id: langcode
+ table: media_field_data
+ field: langcode
+ relationship: none
+ group_type: group
+ admin_label: ''
+ entity_type: media
+ entity_field: langcode
+ plugin_id: language
+ operator: in
+ value: { }
+ group: 1
+ exposed: true
+ expose:
+ operator_id: langcode_op
+ label: Language
+ description: ''
+ use_operator: false
+ operator: langcode_op
+ operator_limit_selection: false
+ operator_list: { }
+ identifier: langcode
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ anonymous: '0'
+ administrator: '0'
+ reduce: false
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ style:
+ type: table
+ options:
+ grouping: { }
+ row_class: ''
+ default_row_class: true
+ columns:
+ name: name
+ bundle: bundle
+ changed: changed
+ uid: uid
+ status: status
+ thumbnail__target_id: thumbnail__target_id
+ default: changed
+ info:
+ name:
+ sortable: true
+ default_sort_order: asc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ bundle:
+ sortable: true
+ default_sort_order: asc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ changed:
+ sortable: true
+ default_sort_order: desc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ uid:
+ sortable: false
+ default_sort_order: asc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ status:
+ sortable: true
+ default_sort_order: asc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ thumbnail__target_id:
+ sortable: false
+ default_sort_order: asc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ override: true
+ sticky: false
+ summary: ''
+ empty_table: true
+ caption: ''
+ description: ''
+ row:
+ type: fields
+ query:
+ type: views_query
+ options:
+ query_comment: ''
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_tags: { }
+ relationships: { }
+ header: { }
+ footer: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: 0
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - user
+ - user.permissions
+ tags: { }
+ media_page_list:
+ id: media_page_list
+ display_title: Media
+ display_plugin: page
+ position: 1
+ display_options:
+ display_description: ''
+ display_extenders: { }
+ path: admin/content/media
+ menu:
+ type: tab
+ title: Media
+ description: ''
+ weight: 0
+ expanded: false
+ menu_name: main
+ parent: ''
+ context: '0'
+ cache_metadata:
+ max-age: 0
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - user
+ - user.permissions
+ tags: { }
diff --git a/config/default/views.view.taxonomy_term.yml b/config/default/views.view.taxonomy_term.yml
index 5b37c61..4c17b41 100644
--- a/config/default/views.view.taxonomy_term.yml
+++ b/config/default/views.view.taxonomy_term.yml
@@ -1,4 +1,4 @@
-uuid: b8796a13-6dc3-455c-b840-8cbd35b7829f
+uuid: a50507ca-b528-444f-ae19-86a5e10edbfd
langcode: en
status: true
dependencies:
@@ -9,7 +9,7 @@ dependencies:
- taxonomy
- user
_core:
- default_config_hash: KejdxDJQmx8SaO-t83OVekLw6ar4ldjmsJMGcotGxnQ
+ default_config_hash: z9csC6m3M65M2JczdNul_lMUrVg8ZO66pbSq8jPCBKs
id: taxonomy_term
label: 'Taxonomy term'
module: taxonomy
@@ -29,7 +29,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
diff --git a/config/default/views.view.user_admin_people.yml b/config/default/views.view.user_admin_people.yml
index 92d8fb9..78b978e 100644
--- a/config/default/views.view.user_admin_people.yml
+++ b/config/default/views.view.user_admin_people.yml
@@ -1,11 +1,11 @@
-uuid: 1799be1e-cbb2-4a6e-b27e-912f128535de
+uuid: 0aa9b9d1-2e42-4dec-b425-e301dfdbc9e0
langcode: en
status: true
dependencies:
module:
- user
_core:
- default_config_hash: FFLg74mnzRE10lgg5fspPCZWLnIEcvCnJMlNzj8OEtw
+ default_config_hash: njaZigMvB4ap21Fg_tQcJhWgYJCGNi49Z5rRL_N6RI0
id: user_admin_people
label: People
module: user
@@ -462,7 +462,6 @@ display:
type: full
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 50
total_pages: 0
id: 0
diff --git a/config/default/views.view.watchdog.yml b/config/default/views.view.watchdog.yml
index 618abca..36d8f68 100644
--- a/config/default/views.view.watchdog.yml
+++ b/config/default/views.view.watchdog.yml
@@ -1,4 +1,4 @@
-uuid: b6b007f6-55b4-47c5-8a64-76ca119e6a37
+uuid: 1e76e5fe-d3fa-47b0-883a-8e0fe5886ec3
langcode: en
status: true
dependencies:
@@ -6,7 +6,7 @@ dependencies:
- dblog
- user
_core:
- default_config_hash: SR5P89f0vUTPC7WY2YpLAffkDx8-Ar8LKFfowVXeqNU
+ default_config_hash: j0txIxY4nkJT_dscmXckM-1vanygDkJAeHPawZKfyH0
id: watchdog
label: Watchdog
module: views
@@ -440,7 +440,6 @@ display:
type: mini
options:
offset: 0
- pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
diff --git a/config/default/views.view.who_s_new.yml b/config/default/views.view.who_s_new.yml
index b742d12..a8bf64e 100644
--- a/config/default/views.view.who_s_new.yml
+++ b/config/default/views.view.who_s_new.yml
@@ -1,4 +1,4 @@
-uuid: 2115fab8-be84-489d-88b0-148236c1c4f3
+uuid: 8683f088-88dd-4945-8040-9768dc061ecf
langcode: en
status: true
dependencies:
diff --git a/config/default/views.view.who_s_online.yml b/config/default/views.view.who_s_online.yml
index 9c954e5..6abf74b 100644
--- a/config/default/views.view.who_s_online.yml
+++ b/config/default/views.view.who_s_online.yml
@@ -1,4 +1,4 @@
-uuid: f623ea85-ceba-43ea-97d1-635be1406efe
+uuid: d2a45161-7119-45ff-8584-b09932c94069
langcode: en
status: true
dependencies:
diff --git a/web/modules/custom/ufc/README.md b/web/modules/custom/ufc/README.md
new file mode 100644
index 0000000..190827f
--- /dev/null
+++ b/web/modules/custom/ufc/README.md
@@ -0,0 +1,12 @@
+# Fight Predictor Data Points
+
+TO DEVELOP
+---
+ Finish %
+
+
+What % of fights do they win?
+What % of fights does opponent win?
+Who wins more often?
+Who physically has the advantage?
+Who has the momentum?
diff --git a/web/modules/custom/ufc/config/optional/core.base_field_override.node.fight.promote.yml b/web/modules/custom/ufc/config/optional/core.base_field_override.node.fight.promote.yml
new file mode 100644
index 0000000..61b2c60
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.base_field_override.node.fight.promote.yml
@@ -0,0 +1,22 @@
+uuid: 9020d6b1-7067-4178-884e-a36f2e24c865
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.fight
+id: node.fight.promote
+field_name: promote
+entity_type: node
+bundle: fight
+label: 'Promoted to front page'
+description: ''
+required: false
+translatable: true
+default_value:
+ -
+ value: 0
+default_value_callback: ''
+settings:
+ on_label: 'On'
+ off_label: 'Off'
+field_type: boolean
diff --git a/web/modules/custom/ufc/config/optional/core.base_field_override.node.fighter.promote.yml b/web/modules/custom/ufc/config/optional/core.base_field_override.node.fighter.promote.yml
new file mode 100644
index 0000000..3e61e9f
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.base_field_override.node.fighter.promote.yml
@@ -0,0 +1,22 @@
+uuid: 62516a1a-8798-4b75-b598-8ddfe1e957ab
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.fighter
+id: node.fighter.promote
+field_name: promote
+entity_type: node
+bundle: fighter
+label: 'Promoted to front page'
+description: ''
+required: false
+translatable: true
+default_value:
+ -
+ value: 0
+default_value_callback: ''
+settings:
+ on_label: 'On'
+ off_label: 'Off'
+field_type: boolean
diff --git a/web/modules/custom/ufc/config/optional/core.entity_form_display.node.fight.default.yml b/web/modules/custom/ufc/config/optional/core.entity_form_display.node.fight.default.yml
new file mode 100644
index 0000000..c753d88
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_form_display.node.fight.default.yml
@@ -0,0 +1,85 @@
+uuid: 46386617-61d1-4ef1-bcd0-762c7d39139d
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.fight.body
+ - field.field.node.fight.field_accuracy
+ - field.field.node.fight.field_event
+ - field.field.node.fight.field_fighter_one
+ - field.field.node.fight.field_fighter_two
+ - field.field.node.fight.field_prediction
+ - field.field.node.fight.field_result
+ - node.type.fight
+id: node.fight.default
+targetEntityType: node
+bundle: fight
+mode: default
+content:
+ field_accuracy:
+ weight: 28
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_event:
+ weight: 1
+ settings: { }
+ third_party_settings: { }
+ type: options_buttons
+ region: content
+ field_fighter_one:
+ weight: 2
+ settings:
+ match_operator: CONTAINS
+ match_limit: 10
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete_tags
+ region: content
+ field_fighter_two:
+ weight: 3
+ settings:
+ match_operator: CONTAINS
+ match_limit: 10
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete_tags
+ region: content
+ field_prediction:
+ weight: 26
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_result:
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ match_limit: 10
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ title:
+ type: string_textfield
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+hidden:
+ body: true
+ created: true
+ path: true
+ promote: true
+ status: true
+ sticky: true
+ uid: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_form_display.node.fighter.default.yml b/web/modules/custom/ufc/config/optional/core.entity_form_display.node.fighter.default.yml
new file mode 100644
index 0000000..a2ee6e2
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_form_display.node.fighter.default.yml
@@ -0,0 +1,271 @@
+uuid: efcb011e-c7f3-4101-b5d7-3ab6aa471ab5
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.fighter.body
+ - field.field.node.fighter.field_absorbed_per_min
+ - field.field.node.fighter.field_age
+ - field.field.node.fighter.field_decisions
+ - field.field.node.fighter.field_division
+ - field.field.node.fighter.field_first_name
+ - field.field.node.fighter.field_grappling_accuracy
+ - field.field.node.fighter.field_height
+ - field.field.node.fighter.field_knockdown_ratio
+ - field.field.node.fighter.field_knockouts
+ - field.field.node.fighter.field_last_name
+ - field.field.node.fighter.field_leg_reach
+ - field.field.node.fighter.field_losses
+ - field.field.node.fighter.field_player_photo
+ - field.field.node.fighter.field_reach
+ - field.field.node.fighter.field_strikes_per_minute
+ - field.field.node.fighter.field_striking_accuracy
+ - field.field.node.fighter.field_submissions
+ - field.field.node.fighter.field_takedowns_per_15
+ - field.field.node.fighter.field_ties
+ - field.field.node.fighter.field_weight
+ - field.field.node.fighter.field_wins
+ - node.type.fighter
+ module:
+ - field_group
+ - media_library
+third_party_settings:
+ field_group:
+ group_information:
+ children:
+ - title
+ - field_first_name
+ - field_last_name
+ - field_player_photo
+ - field_height
+ - field_weight
+ - field_age
+ - field_reach
+ - field_leg_reach
+ - field_division
+ parent_name: ''
+ weight: 1
+ format_type: tab
+ region: content
+ format_settings:
+ description: 'The player information'
+ formatter: open
+ required_fields: true
+ id: ''
+ classes: ''
+ direction: vertical
+ effect: none
+ open: false
+ weight: 0
+ label: Information
+ group_statistics:
+ children:
+ - field_wins
+ - field_losses
+ - field_ties
+ - field_decisions
+ - field_knockouts
+ - field_submissions
+ - field_grappling_accuracy
+ - field_striking_accuracy
+ - field_strikes_per_minute
+ - field_absorbed_per_min
+ - field_takedowns_per_15
+ - field_knockdown_ratio
+ parent_name: ''
+ weight: 2
+ format_type: tab
+ region: content
+ format_settings:
+ description: 'The statistics for this fighter.'
+ formatter: open
+ required_fields: true
+ id: ''
+ classes: ''
+ effect: none
+ open: false
+ weight: 0
+ direction: vertical
+ element: div
+ show_label: false
+ label_element: h3
+ label_element_classes: ''
+ speed: fast
+ attributes: ''
+ label: Statistics
+id: node.fighter.default
+targetEntityType: node
+bundle: fighter
+mode: default
+content:
+ field_absorbed_per_min:
+ weight: 21
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_age:
+ weight: 6
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_decisions:
+ weight: 15
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_division:
+ weight: 9
+ settings:
+ match_operator: CONTAINS
+ match_limit: 10
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_first_name:
+ weight: 1
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_grappling_accuracy:
+ weight: 18
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_height:
+ weight: 4
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_knockdown_ratio:
+ weight: 23
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_knockouts:
+ weight: 16
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_last_name:
+ weight: 2
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_leg_reach:
+ weight: 8
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_losses:
+ weight: 13
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_player_photo:
+ type: media_library_widget
+ weight: 3
+ settings:
+ media_types: { }
+ third_party_settings: { }
+ region: content
+ field_reach:
+ weight: 7
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_strikes_per_minute:
+ weight: 20
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_striking_accuracy:
+ weight: 19
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_submissions:
+ weight: 17
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_takedowns_per_15:
+ weight: 22
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_ties:
+ weight: 14
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_weight:
+ weight: 5
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_wins:
+ weight: 12
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ title:
+ type: string_textfield
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+hidden:
+ body: true
+ created: true
+ path: true
+ promote: true
+ status: true
+ sticky: true
+ uid: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fight.default.yml b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fight.default.yml
new file mode 100644
index 0000000..402bf6c
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fight.default.yml
@@ -0,0 +1,80 @@
+uuid: d879dd9e-73c7-4562-98c5-45f6e0505d0c
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.fight.body
+ - field.field.node.fight.field_accuracy
+ - field.field.node.fight.field_event
+ - field.field.node.fight.field_fighter_one
+ - field.field.node.fight.field_fighter_two
+ - field.field.node.fight.field_prediction
+ - field.field.node.fight.field_result
+ - node.type.fight
+ module:
+ - user
+id: node.fight.default
+targetEntityType: node
+bundle: fight
+mode: default
+content:
+ field_accuracy:
+ weight: 8
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_decimal
+ region: content
+ field_event:
+ weight: 1
+ label: hidden
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ field_fighter_one:
+ weight: 2
+ label: hidden
+ settings:
+ view_mode: teaser
+ link: false
+ third_party_settings: { }
+ type: entity_reference_entity_view
+ region: content
+ field_fighter_two:
+ weight: 3
+ label: hidden
+ settings:
+ view_mode: teaser
+ link: false
+ third_party_settings: { }
+ type: entity_reference_entity_view
+ region: content
+ field_prediction:
+ weight: 6
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ type: string
+ region: content
+ field_result:
+ weight: 5
+ label: hidden
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ links:
+ weight: 0
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ body: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fight.teaser.yml b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fight.teaser.yml
new file mode 100644
index 0000000..65085a1
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fight.teaser.yml
@@ -0,0 +1,42 @@
+uuid: 2d1d0d94-7623-4d5b-a4d7-749720857860
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.fight.body
+ - field.field.node.fight.field_accuracy
+ - field.field.node.fight.field_event
+ - field.field.node.fight.field_fighter_one
+ - field.field.node.fight.field_fighter_two
+ - field.field.node.fight.field_prediction
+ - field.field.node.fight.field_result
+ - node.type.fight
+ module:
+ - text
+ - user
+id: node.fight.teaser
+targetEntityType: node
+bundle: fight
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ field_accuracy: true
+ field_event: true
+ field_fighter_one: true
+ field_fighter_two: true
+ field_prediction: true
+ field_result: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.default.yml b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.default.yml
new file mode 100644
index 0000000..9e93db0
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.default.yml
@@ -0,0 +1,237 @@
+uuid: 62338666-d3ab-4b76-a45d-20e2ca85d41f
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.fighter.body
+ - field.field.node.fighter.field_absorbed_per_min
+ - field.field.node.fighter.field_age
+ - field.field.node.fighter.field_decisions
+ - field.field.node.fighter.field_division
+ - field.field.node.fighter.field_first_name
+ - field.field.node.fighter.field_grappling_accuracy
+ - field.field.node.fighter.field_height
+ - field.field.node.fighter.field_knockdown_ratio
+ - field.field.node.fighter.field_knockouts
+ - field.field.node.fighter.field_last_name
+ - field.field.node.fighter.field_leg_reach
+ - field.field.node.fighter.field_losses
+ - field.field.node.fighter.field_player_photo
+ - field.field.node.fighter.field_reach
+ - field.field.node.fighter.field_strikes_per_minute
+ - field.field.node.fighter.field_striking_accuracy
+ - field.field.node.fighter.field_submissions
+ - field.field.node.fighter.field_takedowns_per_15
+ - field.field.node.fighter.field_ties
+ - field.field.node.fighter.field_weight
+ - field.field.node.fighter.field_wins
+ - image.style.thumbnail
+ - node.type.fighter
+ module:
+ - media
+ - user
+id: node.fighter.default
+targetEntityType: node
+bundle: fighter
+mode: default
+content:
+ field_absorbed_per_min:
+ type: number_decimal
+ weight: 6
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_age:
+ weight: 3
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_decimal
+ region: content
+ field_decisions:
+ type: number_decimal
+ weight: 7
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_division:
+ type: entity_reference_label
+ weight: 8
+ region: content
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ field_grappling_accuracy:
+ type: number_decimal
+ weight: 9
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_height:
+ weight: 1
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_decimal
+ region: content
+ field_knockdown_ratio:
+ type: number_decimal
+ weight: 10
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_knockouts:
+ type: number_decimal
+ weight: 17
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_leg_reach:
+ weight: 5
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_decimal
+ region: content
+ field_losses:
+ type: string
+ weight: 16
+ region: content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ field_player_photo:
+ type: media_thumbnail
+ weight: 0
+ label: hidden
+ settings:
+ image_style: thumbnail
+ image_link: ''
+ third_party_settings: { }
+ region: content
+ field_reach:
+ weight: 4
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_decimal
+ region: content
+ field_strikes_per_minute:
+ type: number_decimal
+ weight: 15
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_striking_accuracy:
+ type: number_decimal
+ weight: 14
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_submissions:
+ type: number_decimal
+ weight: 11
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_takedowns_per_15:
+ type: number_decimal
+ weight: 12
+ region: content
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ field_ties:
+ type: string
+ weight: 18
+ region: content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ field_weight:
+ weight: 2
+ label: above
+ settings:
+ thousand_separator: ''
+ decimal_separator: .
+ scale: 2
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_decimal
+ region: content
+ field_wins:
+ type: string
+ weight: 13
+ region: content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+hidden:
+ body: true
+ field_first_name: true
+ field_last_name: true
+ links: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.rss.yml b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.rss.yml
new file mode 100644
index 0000000..b5a71a9
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.rss.yml
@@ -0,0 +1,77 @@
+uuid: be9b697f-c86f-4de3-9a8e-13bbd743a872
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.rss
+ - field.field.node.fighter.body
+ - field.field.node.fighter.field_absorbed_per_min
+ - field.field.node.fighter.field_age
+ - field.field.node.fighter.field_decisions
+ - field.field.node.fighter.field_division
+ - field.field.node.fighter.field_first_name
+ - field.field.node.fighter.field_grappling_accuracy
+ - field.field.node.fighter.field_height
+ - field.field.node.fighter.field_knockdown_ratio
+ - field.field.node.fighter.field_knockouts
+ - field.field.node.fighter.field_last_name
+ - field.field.node.fighter.field_leg_reach
+ - field.field.node.fighter.field_losses
+ - field.field.node.fighter.field_player_photo
+ - field.field.node.fighter.field_reach
+ - field.field.node.fighter.field_strikes_per_minute
+ - field.field.node.fighter.field_striking_accuracy
+ - field.field.node.fighter.field_submissions
+ - field.field.node.fighter.field_takedowns_per_15
+ - field.field.node.fighter.field_ties
+ - field.field.node.fighter.field_weight
+ - field.field.node.fighter.field_wins
+ - image.style.thumbnail
+ - node.type.fighter
+ module:
+ - media
+ - user
+id: node.fighter.rss
+targetEntityType: node
+bundle: fighter
+mode: rss
+content:
+ field_last_name:
+ weight: 1
+ label: hidden
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ type: string
+ region: content
+ field_player_photo:
+ type: media_thumbnail
+ weight: 0
+ label: hidden
+ settings:
+ image_style: thumbnail
+ image_link: ''
+ third_party_settings: { }
+ region: content
+hidden:
+ body: true
+ field_absorbed_per_min: true
+ field_age: true
+ field_decisions: true
+ field_division: true
+ field_first_name: true
+ field_grappling_accuracy: true
+ field_height: true
+ field_knockdown_ratio: true
+ field_knockouts: true
+ field_leg_reach: true
+ field_losses: true
+ field_reach: true
+ field_strikes_per_minute: true
+ field_striking_accuracy: true
+ field_submissions: true
+ field_takedowns_per_15: true
+ field_ties: true
+ field_weight: true
+ field_wins: true
+ links: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.teaser.yml b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.teaser.yml
new file mode 100644
index 0000000..7c53990
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_view_display.node.fighter.teaser.yml
@@ -0,0 +1,70 @@
+uuid: ed1e0abd-67ac-4ae9-ad96-28cafd354403
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.fighter.body
+ - field.field.node.fighter.field_absorbed_per_min
+ - field.field.node.fighter.field_age
+ - field.field.node.fighter.field_decisions
+ - field.field.node.fighter.field_division
+ - field.field.node.fighter.field_first_name
+ - field.field.node.fighter.field_grappling_accuracy
+ - field.field.node.fighter.field_height
+ - field.field.node.fighter.field_knockdown_ratio
+ - field.field.node.fighter.field_knockouts
+ - field.field.node.fighter.field_last_name
+ - field.field.node.fighter.field_leg_reach
+ - field.field.node.fighter.field_losses
+ - field.field.node.fighter.field_player_photo
+ - field.field.node.fighter.field_reach
+ - field.field.node.fighter.field_strikes_per_minute
+ - field.field.node.fighter.field_striking_accuracy
+ - field.field.node.fighter.field_submissions
+ - field.field.node.fighter.field_takedowns_per_15
+ - field.field.node.fighter.field_ties
+ - field.field.node.fighter.field_weight
+ - field.field.node.fighter.field_wins
+ - image.style.medium
+ - node.type.fighter
+ module:
+ - media
+ - user
+id: node.fighter.teaser
+targetEntityType: node
+bundle: fighter
+mode: teaser
+content:
+ field_player_photo:
+ type: media_thumbnail
+ weight: 0
+ region: content
+ label: hidden
+ settings:
+ image_style: medium
+ image_link: ''
+ third_party_settings: { }
+hidden:
+ body: true
+ field_absorbed_per_min: true
+ field_age: true
+ field_decisions: true
+ field_division: true
+ field_first_name: true
+ field_grappling_accuracy: true
+ field_height: true
+ field_knockdown_ratio: true
+ field_knockouts: true
+ field_last_name: true
+ field_leg_reach: true
+ field_losses: true
+ field_reach: true
+ field_strikes_per_minute: true
+ field_striking_accuracy: true
+ field_submissions: true
+ field_takedowns_per_15: true
+ field_ties: true
+ field_weight: true
+ field_wins: true
+ links: true
diff --git a/web/modules/custom/ufc/config/optional/core.entity_view_display.taxonomy_term.ufc_events.default.yml b/web/modules/custom/ufc/config/optional/core.entity_view_display.taxonomy_term.ufc_events.default.yml
new file mode 100644
index 0000000..ece1771
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/core.entity_view_display.taxonomy_term.ufc_events.default.yml
@@ -0,0 +1,32 @@
+uuid: c2fa694b-d3bb-43ed-b9a8-cfe2c6aa61ac
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.taxonomy_term.ufc_events.field_event_date
+ - taxonomy.vocabulary.ufc_events
+ module:
+ - datetime
+ - text
+id: taxonomy_term.ufc_events.default
+targetEntityType: taxonomy_term
+bundle: ufc_events
+mode: default
+content:
+ description:
+ label: hidden
+ type: text_default
+ weight: 0
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_event_date:
+ weight: 1
+ label: above
+ settings:
+ format_type: medium
+ timezone_override: ''
+ third_party_settings: { }
+ type: datetime_default
+ region: content
+hidden: { }
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.body.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.body.yml
new file mode 100644
index 0000000..cc8ac8c
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.body.yml
@@ -0,0 +1,23 @@
+uuid: 7878bf2c-a3a4-42a7-a6cd-79f860d15395
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.fight
+ module:
+ - text
+id: node.fight.body
+field_name: body
+entity_type: node
+bundle: fight
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+ required_summary: false
+field_type: text_with_summary
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.field_accuracy.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_accuracy.yml
new file mode 100644
index 0000000..e675f87
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_accuracy.yml
@@ -0,0 +1,23 @@
+uuid: 0675782a-5e6b-47e6-b248-48cf7ee44144
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_accuracy
+ - node.type.fight
+id: node.fight.field_accuracy
+field_name: field_accuracy
+entity_type: node
+bundle: fight
+label: Accuracy
+description: 'Accuracy of this prediction.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: '%'
+field_type: float
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.field_event.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_event.yml
new file mode 100644
index 0000000..4edebfb
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_event.yml
@@ -0,0 +1,29 @@
+uuid: 08eeb95e-ad83-449b-b420-405c92f94888
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_event
+ - node.type.fight
+ - taxonomy.vocabulary.ufc_events
+id: node.fight.field_event
+field_name: field_event
+entity_type: node
+bundle: fight
+label: Event
+description: 'The event for this fight.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ ufc_events: ufc_events
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.field_fighter_one.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_fighter_one.yml
new file mode 100644
index 0000000..bef7ff6
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_fighter_one.yml
@@ -0,0 +1,28 @@
+uuid: c0e2a418-fa1b-450e-9496-31915af72a6c
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_fighter_one
+ - node.type.fight
+ - node.type.fighter
+id: node.fight.field_fighter_one
+field_name: field_fighter_one
+entity_type: node
+bundle: fight
+label: 'Fighter One'
+description: 'The first fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ fighter: fighter
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.field_fighter_two.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_fighter_two.yml
new file mode 100644
index 0000000..4f7c46e
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_fighter_two.yml
@@ -0,0 +1,28 @@
+uuid: 1cfef8e4-a358-402e-a6b9-6377abf8b12d
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_fighter_two
+ - node.type.fight
+ - node.type.fighter
+id: node.fight.field_fighter_two
+field_name: field_fighter_two
+entity_type: node
+bundle: fight
+label: 'Fighter Two'
+description: 'The second fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ fighter: fighter
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.field_prediction.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_prediction.yml
new file mode 100644
index 0000000..08af8af
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_prediction.yml
@@ -0,0 +1,19 @@
+uuid: 840cdb42-015b-4c66-b49b-420da49b42ae
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_prediction
+ - node.type.fight
+id: node.fight.field_prediction
+field_name: field_prediction
+entity_type: node
+bundle: fight
+label: Prediction
+description: 'The prediction for this fight.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fight.field_result.yml b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_result.yml
new file mode 100644
index 0000000..f94a3f5
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fight.field_result.yml
@@ -0,0 +1,28 @@
+uuid: f80f6e92-7f80-4706-9649-19cde2e63f97
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_result
+ - node.type.fight
+ - node.type.fighter
+id: node.fight.field_result
+field_name: field_result
+entity_type: node
+bundle: fight
+label: Result
+description: 'The real result of the fight, aka WINNER.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ fighter: fighter
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.body.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.body.yml
new file mode 100644
index 0000000..1d59e51
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.body.yml
@@ -0,0 +1,23 @@
+uuid: 582e98bf-ad72-4a75-b50f-6111d5b00629
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.fighter
+ module:
+ - text
+id: node.fighter.body
+field_name: body
+entity_type: node
+bundle: fighter
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+ required_summary: false
+field_type: text_with_summary
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_absorbed_per_min.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_absorbed_per_min.yml
new file mode 100644
index 0000000..9801876
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_absorbed_per_min.yml
@@ -0,0 +1,23 @@
+uuid: bd26455b-a207-481f-9aac-2b2f61d118a0
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_absorbed_per_min
+ - node.type.fighter
+id: node.fighter.field_absorbed_per_min
+field_name: field_absorbed_per_min
+entity_type: node
+bundle: fighter
+label: 'Absorbed Per Min'
+description: 'The strikes absorbed per minute for this fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_age.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_age.yml
new file mode 100644
index 0000000..6e4c874
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_age.yml
@@ -0,0 +1,23 @@
+uuid: 71fa4227-27da-4319-a823-aa0acde92145
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_age
+ - node.type.fighter
+id: node.fighter.field_age
+field_name: field_age
+entity_type: node
+bundle: fighter
+label: Age
+description: 'The age of the fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_decisions.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_decisions.yml
new file mode 100644
index 0000000..a2fda43
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_decisions.yml
@@ -0,0 +1,23 @@
+uuid: 2c9e212b-4e0e-41c2-a924-ad1bc51a82de
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_decisions
+ - node.type.fighter
+id: node.fighter.field_decisions
+field_name: field_decisions
+entity_type: node
+bundle: fighter
+label: Decisions
+description: 'The amount of decision wins this fighter has.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_division.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_division.yml
new file mode 100644
index 0000000..5f59533
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_division.yml
@@ -0,0 +1,29 @@
+uuid: 7cfd4a75-6ba7-4878-a391-f555f05d3beb
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_division
+ - node.type.fighter
+ - taxonomy.vocabulary.ufc_divisions
+id: node.fighter.field_division
+field_name: field_division
+entity_type: node
+bundle: fighter
+label: Division
+description: 'The division this fighter is in.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ ufc_divisions: ufc_divisions
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_first_name.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_first_name.yml
new file mode 100644
index 0000000..06e5a7a
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_first_name.yml
@@ -0,0 +1,19 @@
+uuid: 49c5a5bc-5e65-46ba-a4c8-c42b951a4ecc
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_first_name
+ - node.type.fighter
+id: node.fighter.field_first_name
+field_name: field_first_name
+entity_type: node
+bundle: fighter
+label: 'First Name'
+description: 'First name.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_grappling_accuracy.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_grappling_accuracy.yml
new file mode 100644
index 0000000..0548be4
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_grappling_accuracy.yml
@@ -0,0 +1,23 @@
+uuid: ca060196-5d4d-4acc-9e6b-a7daf7af7003
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_grappling_accuracy
+ - node.type.fighter
+id: node.fighter.field_grappling_accuracy
+field_name: field_grappling_accuracy
+entity_type: node
+bundle: fighter
+label: 'Grappling Accuracy'
+description: 'The grappling accuracy for this fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: '%'
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_height.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_height.yml
new file mode 100644
index 0000000..5e5f039
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_height.yml
@@ -0,0 +1,23 @@
+uuid: 3a4c580f-fb39-4674-8533-a986ad57a7a4
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_height
+ - node.type.fighter
+id: node.fighter.field_height
+field_name: field_height
+entity_type: node
+bundle: fighter
+label: Height
+description: 'The height of the fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_knockdown_ratio.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_knockdown_ratio.yml
new file mode 100644
index 0000000..1fb9b1c
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_knockdown_ratio.yml
@@ -0,0 +1,23 @@
+uuid: bc39ff4d-12ca-47ff-9d0d-74a941148cf9
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_knockdown_ratio
+ - node.type.fighter
+id: node.fighter.field_knockdown_ratio
+field_name: field_knockdown_ratio
+entity_type: node
+bundle: fighter
+label: 'Knockdown Ratio'
+description: 'The knockdown ratio for this fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_knockouts.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_knockouts.yml
new file mode 100644
index 0000000..328f4ef
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_knockouts.yml
@@ -0,0 +1,23 @@
+uuid: d1f83a79-f899-49da-bd99-1a3e9ed7b34b
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_knockouts
+ - node.type.fighter
+id: node.fighter.field_knockouts
+field_name: field_knockouts
+entity_type: node
+bundle: fighter
+label: Knockouts
+description: 'The amount of knockouts this fighter has.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_last_name.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_last_name.yml
new file mode 100644
index 0000000..ff07dfb
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_last_name.yml
@@ -0,0 +1,19 @@
+uuid: 493c9d57-a11f-4358-b618-8b3252da3d87
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_last_name
+ - node.type.fighter
+id: node.fighter.field_last_name
+field_name: field_last_name
+entity_type: node
+bundle: fighter
+label: 'Last Name'
+description: 'Last name of the player.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_leg_reach.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_leg_reach.yml
new file mode 100644
index 0000000..e898242
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_leg_reach.yml
@@ -0,0 +1,23 @@
+uuid: dcc0c063-f28b-4bc6-ba61-6fbdc70a8b70
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_leg_reach
+ - node.type.fighter
+id: node.fighter.field_leg_reach
+field_name: field_leg_reach
+entity_type: node
+bundle: fighter
+label: 'Leg Reach'
+description: 'The leg reach of the fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_losses.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_losses.yml
new file mode 100644
index 0000000..cda584e
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_losses.yml
@@ -0,0 +1,19 @@
+uuid: 1c7f58ba-b19d-4016-b7bf-53e8c0c24e23
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_losses
+ - node.type.fighter
+id: node.fighter.field_losses
+field_name: field_losses
+entity_type: node
+bundle: fighter
+label: Losses
+description: 'The amount of losses'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_player_photo.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_player_photo.yml
new file mode 100644
index 0000000..44adf5e
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_player_photo.yml
@@ -0,0 +1,28 @@
+uuid: be611949-61fe-454a-9b5a-754ef77ff5f9
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_player_photo
+ - media.type.image
+ - node.type.fighter
+id: node.fighter.field_player_photo
+field_name: field_player_photo
+entity_type: node
+bundle: fighter
+label: 'Player Photo'
+description: 'The player photos.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:media'
+ handler_settings:
+ target_bundles:
+ image: image
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_reach.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_reach.yml
new file mode 100644
index 0000000..6e468fe
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_reach.yml
@@ -0,0 +1,23 @@
+uuid: e5c16d91-eb10-4d95-837f-279ccfb469d1
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_reach
+ - node.type.fighter
+id: node.fighter.field_reach
+field_name: field_reach
+entity_type: node
+bundle: fighter
+label: Reach
+description: 'The reach of the fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_strikes_per_minute.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_strikes_per_minute.yml
new file mode 100644
index 0000000..c987543
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_strikes_per_minute.yml
@@ -0,0 +1,23 @@
+uuid: 05529d7b-2702-4d98-953e-c38294bf1386
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_strikes_per_minute
+ - node.type.fighter
+id: node.fighter.field_strikes_per_minute
+field_name: field_strikes_per_minute
+entity_type: node
+bundle: fighter
+label: 'Strikes Per Minute'
+description: 'The strikes per minute for this fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_striking_accuracy.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_striking_accuracy.yml
new file mode 100644
index 0000000..1fbdbd1
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_striking_accuracy.yml
@@ -0,0 +1,23 @@
+uuid: b32a72cf-325f-4abd-8234-6eb1b2d04628
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_striking_accuracy
+ - node.type.fighter
+id: node.fighter.field_striking_accuracy
+field_name: field_striking_accuracy
+entity_type: node
+bundle: fighter
+label: 'Striking Accuracy'
+description: 'The striking accuracy for this fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: '%'
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_submissions.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_submissions.yml
new file mode 100644
index 0000000..0b23bb5
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_submissions.yml
@@ -0,0 +1,23 @@
+uuid: e1130f2d-f575-442f-8fbc-2dc11e45582b
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_submissions
+ - node.type.fighter
+id: node.fighter.field_submissions
+field_name: field_submissions
+entity_type: node
+bundle: fighter
+label: Submissions
+description: 'The amount of submissions wins this fighter has.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_takedowns_per_15.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_takedowns_per_15.yml
new file mode 100644
index 0000000..d92dad1
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_takedowns_per_15.yml
@@ -0,0 +1,23 @@
+uuid: 2564e00a-2001-4dac-bf0f-b5a850ec78cc
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_takedowns_per_15
+ - node.type.fighter
+id: node.fighter.field_takedowns_per_15
+field_name: field_takedowns_per_15
+entity_type: node
+bundle: fighter
+label: 'Takedowns Per 15'
+description: 'The takedowns per 15 minutes for this fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_ties.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_ties.yml
new file mode 100644
index 0000000..2582efe
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_ties.yml
@@ -0,0 +1,19 @@
+uuid: 7c6981ab-23b9-4407-8ef7-2f61d6561c4b
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_ties
+ - node.type.fighter
+id: node.fighter.field_ties
+field_name: field_ties
+entity_type: node
+bundle: fighter
+label: Ties
+description: 'The amount of ties.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_weight.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_weight.yml
new file mode 100644
index 0000000..745265b
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_weight.yml
@@ -0,0 +1,23 @@
+uuid: 56f9ae5d-1ff2-40eb-9085-7657176f60cc
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_weight
+ - node.type.fighter
+id: node.fighter.field_weight
+field_name: field_weight
+entity_type: node
+bundle: fighter
+label: Weight
+description: 'The weight of the fighter.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: decimal
diff --git a/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_wins.yml b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_wins.yml
new file mode 100644
index 0000000..e49cd44
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.node.fighter.field_wins.yml
@@ -0,0 +1,19 @@
+uuid: ffde2285-42ba-4db5-9bc6-3ebe2124f2c6
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_wins
+ - node.type.fighter
+id: node.fighter.field_wins
+field_name: field_wins
+entity_type: node
+bundle: fighter
+label: Wins
+description: 'The amount of wins.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/web/modules/custom/ufc/config/optional/field.field.taxonomy_term.ufc_events.field_event_date.yml b/web/modules/custom/ufc/config/optional/field.field.taxonomy_term.ufc_events.field_event_date.yml
new file mode 100644
index 0000000..80755ed
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.field.taxonomy_term.ufc_events.field_event_date.yml
@@ -0,0 +1,21 @@
+uuid: eac5bd54-7691-421e-8f2a-ce579c6d3032
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.taxonomy_term.field_event_date
+ - taxonomy.vocabulary.ufc_events
+ module:
+ - datetime
+id: taxonomy_term.ufc_events.field_event_date
+field_name: field_event_date
+entity_type: taxonomy_term
+bundle: ufc_events
+label: 'Event Date'
+description: 'The date for this event.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: datetime
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_absorbed_per_min.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_absorbed_per_min.yml
new file mode 100644
index 0000000..1cc7caa
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_absorbed_per_min.yml
@@ -0,0 +1,20 @@
+uuid: 9d6bf3c4-a280-4e14-a46e-2f0df3208242
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_absorbed_per_min
+field_name: field_absorbed_per_min
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_accuracy.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_accuracy.yml
new file mode 100644
index 0000000..6a5c937
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_accuracy.yml
@@ -0,0 +1,18 @@
+uuid: 9302d680-0a5f-4846-bec7-72952ff45727
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_accuracy
+field_name: field_accuracy
+entity_type: node
+type: float
+settings: { }
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_age.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_age.yml
new file mode 100644
index 0000000..4b6f290
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_age.yml
@@ -0,0 +1,20 @@
+uuid: 6691c996-791a-4b93-9dca-5504091188a8
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_age
+field_name: field_age
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_decisions.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_decisions.yml
new file mode 100644
index 0000000..df819f7
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_decisions.yml
@@ -0,0 +1,20 @@
+uuid: 88f41317-7b99-4916-9b62-2fc9574b4cb2
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_decisions
+field_name: field_decisions
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_division.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_division.yml
new file mode 100644
index 0000000..0859a3b
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_division.yml
@@ -0,0 +1,20 @@
+uuid: 27166575-3538-4b15-aaa0-5da43aaf609b
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+id: node.field_division
+field_name: field_division
+entity_type: node
+type: entity_reference
+settings:
+ target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_event.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_event.yml
new file mode 100644
index 0000000..a77e4dc
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_event.yml
@@ -0,0 +1,20 @@
+uuid: f85fe501-9759-424f-ae4c-9c7120715c08
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+id: node.field_event
+field_name: field_event
+entity_type: node
+type: entity_reference
+settings:
+ target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_fighter_one.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_fighter_one.yml
new file mode 100644
index 0000000..2a66069
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_fighter_one.yml
@@ -0,0 +1,19 @@
+uuid: a065856c-0d5f-4c0f-b744-338ad233aa23
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_fighter_one
+field_name: field_fighter_one
+entity_type: node
+type: entity_reference
+settings:
+ target_type: node
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_fighter_two.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_fighter_two.yml
new file mode 100644
index 0000000..90be8df
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_fighter_two.yml
@@ -0,0 +1,19 @@
+uuid: 75c486ae-91c5-4672-818e-0f8a6e286b20
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_fighter_two
+field_name: field_fighter_two
+entity_type: node
+type: entity_reference
+settings:
+ target_type: node
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_first_name.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_first_name.yml
new file mode 100644
index 0000000..252c019
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_first_name.yml
@@ -0,0 +1,21 @@
+uuid: 28585605-54e4-49ca-9d74-468ceba7fafe
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_first_name
+field_name: field_first_name
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_grappling_accuracy.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_grappling_accuracy.yml
new file mode 100644
index 0000000..7d61cb8
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_grappling_accuracy.yml
@@ -0,0 +1,20 @@
+uuid: 519a3558-3dcd-4f40-a4e6-2bbc1d08be6b
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_grappling_accuracy
+field_name: field_grappling_accuracy
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_height.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_height.yml
new file mode 100644
index 0000000..ff1484b
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_height.yml
@@ -0,0 +1,20 @@
+uuid: 2c211457-b9ec-461f-86d6-a6c6f01eeef5
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_height
+field_name: field_height
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_knockdown_ratio.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_knockdown_ratio.yml
new file mode 100644
index 0000000..1338e6b
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_knockdown_ratio.yml
@@ -0,0 +1,20 @@
+uuid: 7241aad9-0095-4b94-b056-0c0de56f5e8e
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_knockdown_ratio
+field_name: field_knockdown_ratio
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_knockouts.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_knockouts.yml
new file mode 100644
index 0000000..4588925
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_knockouts.yml
@@ -0,0 +1,20 @@
+uuid: 5d0cc244-2044-4b3b-96be-8cd5ead4e1e4
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_knockouts
+field_name: field_knockouts
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_last_name.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_last_name.yml
new file mode 100644
index 0000000..1d1c2fc
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_last_name.yml
@@ -0,0 +1,21 @@
+uuid: 0c81c2da-1979-4b37-a29b-e0cdb78e8995
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_last_name
+field_name: field_last_name
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_leg_reach.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_leg_reach.yml
new file mode 100644
index 0000000..5da89e1
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_leg_reach.yml
@@ -0,0 +1,20 @@
+uuid: dc50d6bf-0642-480e-988e-e37390f192a4
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_leg_reach
+field_name: field_leg_reach
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_losses.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_losses.yml
new file mode 100644
index 0000000..8bd859e
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_losses.yml
@@ -0,0 +1,21 @@
+uuid: 288335f6-1fff-4f29-a2af-70616c13c9ba
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_losses
+field_name: field_losses
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_player_photo.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_player_photo.yml
new file mode 100644
index 0000000..128c0b7
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_player_photo.yml
@@ -0,0 +1,20 @@
+uuid: d35ea863-cf26-469d-bdaf-468b617483e2
+langcode: en
+status: true
+dependencies:
+ module:
+ - media
+ - node
+id: node.field_player_photo
+field_name: field_player_photo
+entity_type: node
+type: entity_reference
+settings:
+ target_type: media
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_prediction.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_prediction.yml
new file mode 100644
index 0000000..f6769fe
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_prediction.yml
@@ -0,0 +1,21 @@
+uuid: d6738d5c-af34-4bcb-b217-ff61904886d4
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_prediction
+field_name: field_prediction
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_reach.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_reach.yml
new file mode 100644
index 0000000..e72c5c5
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_reach.yml
@@ -0,0 +1,20 @@
+uuid: 712bd9dc-58d0-4bcc-b981-731b3a725220
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_reach
+field_name: field_reach
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_result.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_result.yml
new file mode 100644
index 0000000..59351e5
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_result.yml
@@ -0,0 +1,19 @@
+uuid: f20d5d9f-d9a4-4644-b06a-e2d7c02ef5f3
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_result
+field_name: field_result
+entity_type: node
+type: entity_reference
+settings:
+ target_type: node
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_strikes_per_minute.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_strikes_per_minute.yml
new file mode 100644
index 0000000..98b5e95
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_strikes_per_minute.yml
@@ -0,0 +1,20 @@
+uuid: 18a251e1-8568-4a45-960b-83b009d94a3b
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_strikes_per_minute
+field_name: field_strikes_per_minute
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_striking_accuracy.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_striking_accuracy.yml
new file mode 100644
index 0000000..3dd7079
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_striking_accuracy.yml
@@ -0,0 +1,20 @@
+uuid: 0f6e4cbd-8d76-4c5f-8c92-e6401f148a1d
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_striking_accuracy
+field_name: field_striking_accuracy
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_submissions.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_submissions.yml
new file mode 100644
index 0000000..c8a2c56
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_submissions.yml
@@ -0,0 +1,20 @@
+uuid: 42853083-7298-43df-807c-607b7941505c
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_submissions
+field_name: field_submissions
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_takedowns_per_15.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_takedowns_per_15.yml
new file mode 100644
index 0000000..6ebe6af
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_takedowns_per_15.yml
@@ -0,0 +1,20 @@
+uuid: 970131d2-174b-4e75-a873-937abab255e7
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_takedowns_per_15
+field_name: field_takedowns_per_15
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_ties.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_ties.yml
new file mode 100644
index 0000000..07ee34d
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_ties.yml
@@ -0,0 +1,21 @@
+uuid: 73d01cd2-072a-4cc9-b96c-3fa3164124bc
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_ties
+field_name: field_ties
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_weight.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_weight.yml
new file mode 100644
index 0000000..e8233a5
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_weight.yml
@@ -0,0 +1,20 @@
+uuid: 2cff8ca8-3632-4104-ba8f-caf2f3d91394
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_weight
+field_name: field_weight
+entity_type: node
+type: decimal
+settings:
+ precision: 10
+ scale: 2
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.node.field_wins.yml b/web/modules/custom/ufc/config/optional/field.storage.node.field_wins.yml
new file mode 100644
index 0000000..8a946ef
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.node.field_wins.yml
@@ -0,0 +1,21 @@
+uuid: 82eb82a9-7025-4857-bcd2-efa273514971
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_wins
+field_name: field_wins
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/field.storage.taxonomy_term.field_event_date.yml b/web/modules/custom/ufc/config/optional/field.storage.taxonomy_term.field_event_date.yml
new file mode 100644
index 0000000..8c2dcb3
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/field.storage.taxonomy_term.field_event_date.yml
@@ -0,0 +1,20 @@
+uuid: b46f481d-6eda-4bba-ae10-03c0af640edf
+langcode: en
+status: true
+dependencies:
+ module:
+ - datetime
+ - taxonomy
+id: taxonomy_term.field_event_date
+field_name: field_event_date
+entity_type: taxonomy_term
+type: datetime
+settings:
+ datetime_type: date
+module: datetime
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/web/modules/custom/ufc/config/optional/node.type.fight.yml b/web/modules/custom/ufc/config/optional/node.type.fight.yml
new file mode 100644
index 0000000..5189a61
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/node.type.fight.yml
@@ -0,0 +1,18 @@
+uuid: 58dd5a4f-c2b6-490c-8d82-109621022e9a
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Fight
+type: fight
+description: 'A fight between two fighters.'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/web/modules/custom/ufc/config/optional/node.type.fighter.yml b/web/modules/custom/ufc/config/optional/node.type.fighter.yml
new file mode 100644
index 0000000..7f4ff2e
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/node.type.fighter.yml
@@ -0,0 +1,18 @@
+uuid: 8af5329d-7e64-4606-b474-e623bdc143d3
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Fighter
+type: fighter
+description: 'A fighter.'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/web/modules/custom/ufc/config/optional/pathauto.pattern.fights.yml b/web/modules/custom/ufc/config/optional/pathauto.pattern.fights.yml
new file mode 100644
index 0000000..af08fae
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/pathauto.pattern.fights.yml
@@ -0,0 +1,23 @@
+uuid: 4ab9533e-d5c9-4583-8d1a-ee3b74c91eef
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: fights
+label: Fights
+type: 'canonical_entities:node'
+pattern: '/fight/[node:title]'
+selection_criteria:
+ 9022da84-04b3-4e0c-9d1a-0c8d1d17e6fc:
+ id: 'entity_bundle:node'
+ negate: false
+ uuid: 9022da84-04b3-4e0c-9d1a-0c8d1d17e6fc
+ context_mapping:
+ node: node
+ bundles:
+ fight: fight
+selection_logic: and
+weight: -5
+relationships: { }
+
diff --git a/web/modules/custom/ufc/config/optional/taxonomy.vocabulary.ufc_divisions.yml b/web/modules/custom/ufc/config/optional/taxonomy.vocabulary.ufc_divisions.yml
new file mode 100644
index 0000000..7f17607
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/taxonomy.vocabulary.ufc_divisions.yml
@@ -0,0 +1,8 @@
+uuid: 651c73cc-63b1-462a-8286-b292e4badaab
+langcode: en
+status: true
+dependencies: { }
+name: 'UFC Divisions'
+vid: ufc_divisions
+description: 'The different divisions in the UFC'
+weight: 0
diff --git a/web/modules/custom/ufc/config/optional/taxonomy.vocabulary.ufc_events.yml b/web/modules/custom/ufc/config/optional/taxonomy.vocabulary.ufc_events.yml
new file mode 100644
index 0000000..9e536aa
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/taxonomy.vocabulary.ufc_events.yml
@@ -0,0 +1,8 @@
+uuid: 06ce81ea-6364-4844-a8a0-4fec95ada9a0
+langcode: en
+status: true
+dependencies: { }
+name: 'UFC Events'
+vid: ufc_events
+description: 'List of events.'
+weight: 0
diff --git a/web/modules/custom/ufc/config/optional/ufc.weights.yml b/web/modules/custom/ufc/config/optional/ufc.weights.yml
new file mode 100644
index 0000000..48e8579
--- /dev/null
+++ b/web/modules/custom/ufc/config/optional/ufc.weights.yml
@@ -0,0 +1,18 @@
+fight_weights:
+ wins: 1
+ losses: 1
+ age: 1
+ height: 1
+ weight: 1
+ reach: 1
+ leg_reach: 1
+ knockouts: 1
+ decisions: 1
+ submissions: 1
+ striking_accuracy: 1
+ grappling_accuracy: 1
+ strikes_per_min: 1
+ absorbed_per_min: 1
+ takedowns_per_15: 1
+ knockout_ratio: 1
+ knockout_pct: 1
diff --git a/web/modules/custom/ufc/fights_output.txt b/web/modules/custom/ufc/fights_output.txt
new file mode 100644
index 0000000..18441eb
--- /dev/null
+++ b/web/modules/custom/ufc/fights_output.txt
@@ -0,0 +1,24 @@
+Felder vs. Dos Anjos
+Morono vs. Mckee
+Reyes vs. Blachowicz
+Kara France vs. Royval
+Young vs. Klein
+Sanchez vs. Matthews
+Perry vs. Means
+Rodriguez vs. Dalby
+Rothwell vs. Tybura
+Cosce vs. Palatnikov
+Taha vs. Barcelos
+Wiman vs. Leavitt
+Felder vs. Dos Anjos
+Morono vs. Mckee
+Reyes vs. Blachowicz
+Kara France vs. Royval
+Young vs. Klein
+Sanchez vs. Matthews
+Perry vs. Means
+Rodriguez vs. Dalby
+Jouban vs. Gooden
+Rothwell vs. Tybura
+Cosce vs. Palatnikov
+Taha vs. Barcelos
diff --git a/web/modules/custom/ufc/src/FightPredictor.php b/web/modules/custom/ufc/src/FightPredictor.php
new file mode 100644
index 0000000..2ec9615
--- /dev/null
+++ b/web/modules/custom/ufc/src/FightPredictor.php
@@ -0,0 +1,313 @@
+entityTypeManager = $entityTypeManager;
+ $this->config = $config->getEditable('ufc.weights');
+ $this->weights = $config->getEditable('ufc.weights')->get('fight_weights');
+ }
+
+ /**
+ * The results of the fight.
+ *
+ * @var array
+ */
+ protected $results = [
+ 'fighter_one' => [
+ 'name' => null,
+ 'points' => 0,
+ 'advantages' => [],
+ 'disadvantages' => []
+ ],
+ 'fighter_two' => [
+ 'name' => null,
+ 'points' => 0,
+ 'advantages' => [],
+ 'disadvantages' => []
+ ],
+ 'skips' => 0
+ ];
+
+ /**
+ * The amount of categories skipped.
+ *
+ * @var int
+ */
+ protected $skipCount;
+
+ /**
+ * Calculate the fight results.
+ */
+ public function calculate(Node $fighter_one, Node $fighter_two) {
+ // Reset skip count.
+ $this->skipCount = 0;
+ // First Fighter.
+ $this->fighterOne = $fighter_one;
+ // Second Fighter.
+ $this->fighterTwo = $fighter_two;
+
+ // Run the fight.
+ $this->runFight();
+
+ // Label the results array.
+ $this->results['fighter_one']['name'] = $fighter_one->label();
+ $this->results['fighter_two']['name'] = $fighter_two->label();
+ // Add total skips.
+ $this->results['skips'] = $this->skipCount;
+
+ // echo "";
+ // print_r($this->results);
+ // echo "
";
+ // exit();
+
+ return $this->results;
+ }
+
+ /**
+ * Populate fight results.
+ *
+ * @return void
+ */
+ public function runFight() {
+ $points = 0;
+ $this->calcComparativePoints();
+ }
+
+ /**
+ * Calculate comparative points.
+ *
+ * @return void
+ */
+ public function calcComparativePoints() {
+ $this->calculateDiff('field_height', 'height');
+ $this->calculateDiff('field_weight', 'weight');
+ $this->calculateDiff('field_age', 'age');
+ $this->calculateDiff('field_reach', 'reach');
+ $this->calculateDiff('field_leg_reach', 'leg_reach');
+ $this->calculateDiff('field_wins', 'wins');
+ $this->calculateDiff('field_losses', 'losses', TRUE);
+ $this->calculateDiff('field_ties', 'ties');
+ $this->calculateDiff('field_decisions', 'decisions');
+ $this->calculateDiff('field_knockouts', 'knockouts');
+ $this->calculateDiff('field_submissions', 'submissions');
+ $this->calculateDiff('field_grappling_accuracy', 'grappling_accuracy');
+ $this->calculateDiff('field_striking_accuracy', 'striking_accuracy');
+ $this->calculateDiff('field_strikes_per_minute', 'strikes_per_minute');
+ $this->calculateDiff('field_absorbed_per_min', 'absorbed_per_min', TRUE);
+ $this->calculateDiff('field_takedowns_per_15', 'takedowns_per_15');
+ $this->calculateDiff('field_knockdown_ratio', 'knockdown_ratio');
+ }
+
+ /**
+ * Calculate the weighted diff between two fighters.
+ *
+ * @param [type] $field
+ * @param [type] $weight_label
+ * @return void
+ */
+ public function calculateDiff($field, $weight_label, $inverse = FALSE) {
+ $f1 = $this->getFieldValue($field, $this->fighterOne);
+ $f2 = $this->getFieldValue($field, $this->fighterTwo);
+
+ if (empty($f1) || empty($f2)) {
+ $this->skipCount += 1;
+ return;
+ }
+
+ $weighted_points = 1 * $this->config->get('fight_weights')[$weight_label];
+
+ if ($f1 === $f2) {
+ $this->skipCount += 1;
+ return;
+ }
+
+ if ($inverse) {
+ if ($f1 < $f2) {
+ $this->results['fighter_one']['points'] += $weighted_points;
+ $this->results['fighter_one']['advantages'][] = $field;
+ $this->results['fighter_two']['disadvantages'][] = $field;
+ return;
+ }
+ elseif ($f1 > $f2) {
+ $this->results['fighter_two']['points'] += $$weighted_points;
+ $this->results['fighter_two']['advantages'][] = $field;
+ $this->results['fighter_one']['disadvantages'][] = $field;
+ return;
+ }
+ }
+ else {
+ if ($f1 > $f2) {
+ $this->results['fighter_one']['points'] += $weighted_points;
+ $this->results['fighter_one']['advantages'][] = $field;
+ $this->results['fighter_two']['disadvantages'][] = $field;
+ }
+ elseif ($f1 < $f2) {
+ $this->results['fighter_two']['points'] += $weighted_points;
+ $this->results['fighter_two']['advantages'][] = $field;
+ $this->results['fighter_one']['disadvantages'][] = $field;
+ }
+ }
+ }
+
+ /**
+ * Get value from a field.
+ */
+ public function getFieldValue($field, Node $fighter) {
+ $field_values = reset($fighter->get($field)->getValue());
+
+ if (empty($field_values['value'])) {
+ return 0;
+ }
+
+ return (float) $field_values['value'];
+ }
+
+ /**
+ * Calculate the knockout percentage for a fighter.
+ *
+ * @param Node $fighter
+ * @return void
+ */
+ public function getKnockoutPercentage(Node $fighter) {
+
+ $total_fights =
+ $this->getFieldValue('field_wins', $fighter) +
+ $this->getFieldValue('field_losses', $fighter) +
+ $this->getFieldValue('field_ties', $fighter);
+
+ $knockout_pct = $this->getFieldValue('field_knockouts', $fighter) / $total_fights;
+
+ return $knockout_pct;
+ }
+
+ /**
+ * Update predictions for all fights in batches
+ */
+ public function updatePredictionsBatched($fights, &$context) {
+ // $fights = $this->entityTypeManager->getStorage('node')->loadByProperties(['type' => 'fight']);
+ $results = [];
+ foreach ($fights as $fight) {
+ \Drupal::logger('ufc')->notice("Starting " . $fight->label() . "");
+ $fight->save();
+ $results[] = $fight->id();
+ }
+ $context['results'] = $results;
+ }
+
+ /**
+ * Update predictions for all fights.
+ */
+ public function updatePredictions() {
+ $fights = $this->entityTypeManager->getStorage('node')->loadByProperties(['type' => 'fight']);
+
+ // $count = 0;
+
+ foreach ($fights as $fight) {
+ \Drupal::logger('ufc')->notice("Starting " . $fight->label() . "");
+ $fight->save();
+
+ // if ($count == 4) {
+ // return;
+ // }
+ // $count++;
+ }
+
+ }
+
+ public function adjustWeights($adv, $dis_adv) {
+ foreach ($adv as $cat_to_increase) {
+ $clean = str_replace('field_', '', $cat_to_increase);
+ $this->adjustWeight($clean, 2);
+ }
+
+ foreach ($dis_adv as $cat_to_decrease) {
+ $clean = str_replace('field_', '', $cat_to_decrease);
+ $this->adjustWeight($clean, -1);
+ }
+ }
+
+ /**
+ * Helper function to increase the weight of a category.
+ */
+ public function adjustWeight($key, $increment) {
+ $current_val = $this->config->get('fight_weights')[$key];
+ $increase = $current_val + $increment;
+ $target = 'fight_weights.' . $key;
+ $this->config->set($target, $increase)->save();
+ }
+
+ /**
+ * Helper function to reset all weighting.
+ *
+ * @return void
+ */
+ public function resetWeights() {
+ foreach ($this->config->get('fight_weights') as $cat => $weight) {
+ $this->config->set('fight_weights.' . $cat, 1)->save();
+ }
+ }
+
+ public function fightUpdatedCallback($success, $results, $operations) {
+ // The 'success' parameter means no fatal PHP errors were detected. All
+ // other error management should be handled using 'results'.
+ if ($success) {
+ $message = \Drupal::translation()->formatPlural(
+ count($results),
+ 'One fight processed.', '@count fight processed.'
+ );
+ }
+ else {
+ $message = t('Finished with an error.');
+ }
+ drupal_set_message($message);
+ }
+
+}
\ No newline at end of file
diff --git a/web/modules/custom/ufc/src/Fighter.php b/web/modules/custom/ufc/src/Fighter.php
new file mode 100644
index 0000000..56f4d13
--- /dev/null
+++ b/web/modules/custom/ufc/src/Fighter.php
@@ -0,0 +1,511 @@
+http_client = $httpClient;
+ }
+
+ /**
+ * Get fighters url from name.
+ *
+ * @return string
+ */
+ public function getFighterUrl() {
+
+ // Manual overrides for name problems go here.
+ if ($this->first_name == 'Khaos') {
+ $this->first_name = 'Kalinn';
+ }
+
+ if ($this->first_name == 'J') {
+ $this->first_name = 'JP';
+ $this->last_name = 'Buys';
+ }
+
+ if ($this->last_name == 'Mc Kee') {
+ $this->last_name = 'McKee';
+ }
+
+ if ($this->last_name == 'Mc Gee') {
+ $this->last_name = 'McGee';
+ }
+
+ if ($this->last_name == 'Mc Gregor') {
+ $this->last_name = 'mcgregor';
+ }
+
+ if ($this->last_name == "O' Malley") {
+ $this->last_name = 'Omalley';
+ }
+
+ if ($this->first_name == "Don'") {
+ $this->first_name = 'dontale';
+ $this->last_name = 'mayes';
+ }
+
+ if ($this->first_name == "Marc-") {
+ $this->first_name = 'Marc';
+ }
+
+ if ($this->first_name == "A") {
+ $this->first_name = 'AJ';
+ $this->last_name = 'Dobson';
+ }
+
+ if ($this->first_name == "C") {
+ $this->first_name = 'CB';
+ $this->last_name = 'Dollaway';
+ }
+
+ if ($this->last_name == "Della Maddalena") {
+ $this->last_name = 'Della';
+ }
+
+ if ($this->first_name == "Elizeudos") {
+ $this->first_name = 'elizeu';
+ $this->last_name = 'dos-santos';
+ }
+
+
+ if ($this->last_name == "La Flare") {
+ $this->last_name = 'laflare';
+ }
+
+ if ($this->first_name == "JoelÁlvarez") {
+ $this->first_name = 'Joel';
+ }
+
+ if ($this->last_name == "J Brown") {
+ $this->first_name = 'TJ';
+ $this->last_name = 'Brown';
+ }
+
+
+ if ($this->first_name == "Alexda") {
+ $this->first_name = "alex-da";
+ }
+
+
+ if ($this->last_name == "Mc Kinney") {
+ $this->last_name = "mckinney";
+ }
+
+ if ($this->last_name == "Van Camp") {
+ $this->last_name = "vancamp";
+ }
+
+ if ($this->last_name == "J Laramie") {
+ $this->first_name = "TJ";
+ $this->last_name = "Laramie";
+ }
+
+ if ($this->last_name == "Al- Qaisi") {
+ $this->last_name = "alqaisi";
+ }
+
+ if ($this->first_name == "Alatengheili") {
+ $this->first_name = "heili";
+ $this->last_name = "alateng";
+ }
+
+ if ($this->last_name == "J Dillashaw") {
+ $this->first_name = "TJ";
+ $this->last_name = "Dillashaw";
+ }
+
+ if ($this->first_name == "Andersondos") {
+ $this->first_name = "Anderson-dos";
+ }
+
+ if ($this->last_name == "Silvade Andrade") {
+ $this->last_name = "Silva-de-andrade";
+ }
+
+ if ($this->first_name == "Ode'") {
+ $this->first_name = "ode";
+ }
+
+ if ($this->first_name == "Sumudaerji") {
+ $this->first_name = "su";
+ $this->last_name = "mudaerji";
+ }
+
+ $hyphens = str_replace(" ", "-", $this->last_name);
+ $suffix = $this->first_name . "-" . $hyphens;
+
+ if ($this->first_name == "Aoriqileng") {
+ $suffix = $this->first_name;
+ }
+
+ $url = "https://www.ufc.com/athlete/$suffix";
+ $trim = rtrim($url);
+ return $url;
+ }
+
+ /**
+ * Get contents of the fighter page.
+ *
+ * @return void
+ */
+ public function getFighterPage() {
+ try {
+ $request = $this->http_client->request('GET', $this->getFighterUrl(), ['verify' => FALSE]);
+ $this->fighter_page = $request->getBody()->getContents();
+ } catch (\Exception $e) {
+ echo 'Caught exception: ', $e->getMessage(), "\n";
+ // exit();
+ }
+
+ /*
+ USE THIS FOR TESTING:
+
+ $player_url = "https://www.ufc.com/athlete/anthony-hamilton";
+ try {
+ $request = $this->http_client->request('GET', $player_url);
+ }
+ catch (\Exception $e) {
+ return FALSE;
+ }
+ $content = $request->getBody()->getContents();
+ */
+
+ }
+
+ /**
+ * Get fighter age.
+ *
+ * @return void
+ */
+ public function getAge() {
+ $pattern = '/[0-9]+\.[0-9]+/s';
+ preg_match_all($pattern, $this->fighter_page, $matches);
+ $matches = reset($matches);
+
+ // Get height.
+ $pattern = '/[0-9]+\.[0-9]+/';
+ preg_match($pattern, $matches[0], $height);
+ $this->height = reset($height);
+
+ // Get weight.
+ $pattern = '/[0-9]+\.[0-9]+/';
+ preg_match($pattern, $matches[1], $weight);
+ $this->weight = reset($weight);
+
+ // Get reach.
+ $pattern = '/[0-9]+\.[0-9]+/';
+ preg_match($pattern, $matches[2], $reach);
+ $this->reach = reset($reach);
+
+ // Get leg reach.
+ $pattern = '/[0-9]+\.[0-9]+/';
+ preg_match($pattern, $matches[3], $leg_reach);
+ $this->leg_reach = reset($leg_reach);
+ }
+
+ /**
+ * Extracts the fighter record.
+ *
+ * @return void
+ */
+ public function getFighterRecord() {
+ $pattern = "/[0-9]+[-][0-9]+[-][0-9]+.\(W-L-D\)/";
+ preg_match($pattern, $this->fighter_page, $matches);
+ $r = reset($matches);
+ $r = str_replace(" (W-L-D)", "", $r);
+ $record_chunks = explode("-", $r);
+ $this->wins = $record_chunks[0];
+ $this->losses = $record_chunks[1];
+ $this->ties = $record_chunks[2];
+ }
+
+ /**
+ * Extracts the striking accuracy.
+ *
+ * @return void
+ */
+ public function getStrikingAccuracy() {
+ $pattern = '/
Striking accuracy.(.*)<\/title>/';
+ preg_match($pattern, $this->fighter_page, $matches);
+ $this->striking_accuracy = str_replace('%', '', $matches[1]);
+ }
+
+ /**
+ * Extracts the grappling accuracy.
+ *
+ * @return void
+ */
+ public function getGrapplingAccuracy() {
+ $pattern = '/Grappling accuracy.(.*)<\/title>/';
+ preg_match($pattern, $this->fighter_page, $matches);
+ $this->grappling_accuracy = str_replace('%', '', $matches[1]);
+ }
+
+ /**
+ * Extracts averages from the statistics section.
+ *
+ * @return void
+ */
+ public function getAverages() {
+ $pattern = '/