Merge pull request #4 from yellowpencil/svg-updates-may-26-2021

SVG Updates
This commit is contained in:
Alex 2021-05-26 12:02:48 -06:00 committed by GitHub Enterprise
commit ea064a722e
8 changed files with 271 additions and 6 deletions

133
README.md
View File

@ -14,25 +14,27 @@ This section will include the how to use instructions.
This section will include what's included in the profile install.
- Home page content type
- Home page node is automatically created and set as home page in site settings
- CKEditor; indent block, Linkit, anchor links, media library embeds and uploads
- Four user types; Site Admin, Publisher, Editor, Writer
- Permissions setup for user types
- Media types; document, image, remote video and SVG
- Reponsive image styles for image media type
- SVG and SVG icon display modes for SVG media type
- Default workflow (Draft, Pubish, Archive)
- Pathauto default URL pattern
- Config ignore; Stage file proxy, webform, pathauto patterns
- Config ignore for stage file proxy, webform, pathauto patterns
- SMTP server setup to YP's server settings
- Devel with config split already setup
- Scheduled transitions
- YP Alerts Module
- YP Admin Guide Module
- YP Admin Guide Module (WIP)
- Translations are ready to be enabled and used
#### Installed modules
A full list of modules installed can be found in the
`yp_install_profile.info.yml` file. However, some ones to note or that might not
be modules you've seen before include:
A full list of modules installed can be found below. However, some ones to note
or that might not be modules you've seen before include:
- automated_cron
- better_exposed_filters
@ -56,3 +58,124 @@ be modules you've seen before include:
- ultimate_cron
- username_enumeration_prevention
- views_infinite_scroll
These modules are worth checking out and reading more about if you are
interested in how they function.
**All installed modules**:
- actions_permissions
- admin_toolbar
- admin_toolbar_links_access_filter
- admin_toolbar_tools
- administerusersbyrole
- alert
- anchor_link
- automated_cron
- better_exposed_filters
- block
- block_content
- breakpoint
- chosen
- chosen_lib
- ckeditor
- ckeditor_indentblock
- clientside_validation
- clientside_validation_jquery
- conditional_fields
- config
- config_filter
- config_ignore
- config_split
- config_translation
- content_moderation
- contextual
- ctools
- ctools_block
- ctools_entity_mask
- ctools_views
- datetime
- datetime_range
- dblog
- devel
- diff
- dropzonejs
- dynamic_entity_reference
- dynamic_page_cache
- editor
- editor_advanced_link
- entity_browser
- entity_reference_revisions
- entity_usage
- fakeobjects
- field
- field_group
- field_ui
- file
- file_delete
- filter
- help
- honeypot
- image
- inline_form_errors
- jquery_ui
- jquery_ui_datepicker
- jquery_ui_slider
- jquery_ui_touch_punch
- language
- link
- link_attributes
- linkit
- locale
- mailsystem
- maxlength
- media
- media_bulk_upload
- media_entity_file_replace
- media_library
- menu_block
- menu_breadcrumb
- menu_link_content
- menu_ui
- metatag
- node
- node_edit_protection
- node_title_help_text
- options
- page_cache
- paragraphs_library
- path
- path_alias
- pathauto
- redirect
- redis
- responsive_image
- rest
- scheduled_transitions
- serialization
- simple_sitemap
- smtp
- stage_file_proxy
- svg_image
- svg_image_responsive
- system
- taxonomy
- telephone
- text
- token
- toolbar
- twig_field_value
- twig_tweak
- ultimate_cron
- update
- user
- username_enumeration_prevention
- views_bulk_operations
- views_infinite_scroll
- views_ui
- webform
- webform_ui
- workflows
- content_translation
- views
- paragraphs

View File

@ -3,9 +3,12 @@ status: true
dependencies:
config:
- field.field.media.svg.field_media_image_1
- image.style.large
- media.type.svg
module:
- svg_image
_core:
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
id: media.svg.default
targetEntityType: media
bundle: svg
@ -15,12 +18,12 @@ content:
label: visually_hidden
weight: 0
settings:
image_style: large
image_link: ''
svg_render_as_image: true
svg_attributes:
width: null
height: null
image_style: ''
third_party_settings: { }
type: image
region: content

View File

@ -0,0 +1,36 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.svg.field_media_image_1
- image.style.medium
- media.type.svg
module:
- svg_image
_core:
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
id: media.svg.media_library
targetEntityType: media
bundle: svg
mode: media_library
content:
field_media_image_1:
label: visually_hidden
weight: 0
settings:
image_style: medium
image_link: ''
svg_render_as_image: true
svg_attributes:
width: null
height: null
third_party_settings: { }
type: image
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true

View File

@ -0,0 +1,35 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.svg
- field.field.media.svg.field_media_image_1
- media.type.svg
module:
- svg_image
_core:
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
id: media.svg.svg
targetEntityType: media
bundle: svg
mode: svg
content:
field_media_image_1:
label: visually_hidden
weight: 0
settings:
image_style: ''
image_link: ''
svg_attributes:
width: null
height: null
svg_render_as_image: false
third_party_settings: { }
type: image
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true

View File

@ -0,0 +1,36 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.svg_icon
- field.field.media.svg.field_media_image_1
- image.style.svg_icon
- media.type.svg
module:
- svg_image
_core:
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
id: media.svg.svg_icon
targetEntityType: media
bundle: svg
mode: svg_icon
content:
field_media_image_1:
label: visually_hidden
weight: 0
settings:
image_style: svg_icon
image_link: ''
svg_attributes:
width: null
height: 14
svg_render_as_image: false
third_party_settings: { }
type: image
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true

View File

@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
module:
- media
id: media.svg
label: SVG
targetEntityType: media
cache: true

View File

@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
module:
- media
id: media.svg_icon
label: 'SVG icon'
targetEntityType: media
cache: true

View File

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies: { }
name: svg_icon
label: 'SVG icon'
effects:
0749977f-bb6a-4a8f-9d66-b6d5c6551fec:
uuid: 0749977f-bb6a-4a8f-9d66-b6d5c6551fec
id: image_scale
weight: 1
data:
width: 260
height: null
upscale: false