manaticr / trichechus
Trichechus Install Profile
Installs: 12 819
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Open Issues: 2
Type:drupal-profile
Requires
- cweagans/composer-patches: ~1.0
- drupal/admin_toolbar: ^2.0
- drupal/better_exposed_filters: ^4.0
- drupal/components: ^1.0
- drupal/config_split: ^1.3
- drupal/ctools: ^3.0
- drupal/default_content_deploy: ^1.0
- drupal/devel: ^2.0
- drupal/dropzonejs: ^2.1
- drupal/entity_embed: ^1.1
- drupal/environment_indicator: ^3.3
- drupal/focal_point: ^1.4
- drupal/google_analytics: ^3.0
- drupal/honeypot: ^2.0
- drupal/image_style_quality: ^1.3
- drupal/inline_entity_form: ^1.0
- drupal/layout_builder_browser: ^1.0
- drupal/layout_builder_restrictions: ^2.7
- drupal/media_entity_browser: ^2.0
- drupal/media_entity_facebook: ^2.0
- drupal/media_entity_instagram: ^2.0
- drupal/media_entity_twitter: ^2.4
- drupal/metatag: ^1.7
- drupal/paragraphs: ^1.3
- drupal/pathauto: ^1.3
- drupal/quicklink: ^1.2
- drupal/rabbit_hole: ^1.0
- drupal/recaptcha: ^3.0
- drupal/redirect: ^1.6
- drupal/redis: ^1.4
- drupal/retina_images: 1.x-dev
- drupal/search_api_solr: ^4.0
- drupal/seckit: ^1.0
- drupal/shs: ^1.0
- drupal/smtp: ^1.0
- drupal/stage_file_proxy: ^1.0
- drupal/svg_image: ^1.8
- drupal/twig_tweak: ^2.1
- drupal/url_embed: ^1.0
- drupal/warmer: ^1.1
- drupal/xmlsitemap: ^1.0
- emulsify-ds/emulsify-drupal: ^1.0@beta
- enyo/dropzone: ^5.5
Requires (Dev)
- drupal/coder: ^8.2
- squizlabs/php_codesniffer: ^3.5
Conflicts
README
A base Drupal install profile to scaffold Manati projects.
How to use it?
On any Drupal project, add trichechus to your build:
composer require manaticr/trichechus
What does it contain?
Modules
This project contains several modules commonly used in Manati projects:
- admin_toolbar
- admin_toolbar_tools
- better_exposed_filters
- components
- config_split
- ctools
- default_content_deploy
- devel
- dropzonejs
- entity_embed
- environment_indicator
- focal_point
- google_analytics
- honeypot
- image_style_quality
- inline_entity_form
- layout_builder_browser
- layout_builder_restrictions
- media_entity_browser
- media_entity_facebook
- media_entity_twitter
- metatag
- paragraphs
- pathauto
- quicklink
- rabbit_hole
- recaptcha
- redirect
- redis
- retina_images
- search_api_solr
- seckit
- shs
- smtp
- stage_file_proxy
- svg_image
- twig_tweak
- xmlsitemap
Themes
Includes:
- emulsify-drupal
Basic configuration
We have already done some basic configuration:
- media module (including wysiwyg entity embed)
- config_split
- some other modules basic config
Configuration Management
You are expected to export all your site configuration and keep it in your normal configuration workflow. This profile already have a config split named "dev" so you can separate your dev modules and config. It's disabled by default.
Extra Steps
In order to use some of the provided config, you need to do some extra steps:
Configuration Split
You need to enable the split wherever it's necessary by using this line of code in settings.php:
$config['config_split.config_split.dev']['status'] = TRUE;
Environment Indicator
You need to enable environment indicator wherever you want to use it by adding these lines of code in settings.php:
$config['environment_indicator.indicator']['bg_color'] = '#FF0100'; $config['environment_indicator.indicator']['fg_color'] = '#FFFFFF'; $config['environment_indicator.indicator']['name'] = 'Live';
Default Content Deploy
You need to create a folder called content
in the root of the project and then we need to let Drupal to know the location of the folder:
$settings['default_content_deploy_content_directory'] = '../content';
DropzoneJS
This profile includes dropzonejs library; however, it's installed under vendor/enyo until #1 gets fixed. It's your responsability to move it to the right folder (web/libraries/dropzone). If your project is using https://github.com/kporras07/composer-symlinks you could do it with a symlink like this:
"extra": "symlinks": { "vendor/enyo/dropzone": "web/libraries/dropzone" } }