Would this mean implementing something similar to this?
https://git.drupalcode.org/project/phone_number/-/blob/2.0.x/src/Feeds/T...
elvin - albania drupal developer → created an issue.
Thank you! Testing it right now and will report on anything i may find!
Thank you! Testing it right now and will report on anything i may find!
Today i came accross this: https://www.drupal.org/node/3432357 →
I was able to uninstall the "Standard" profile, export cofig, and then i was able to do a
drush site:install --existing-config
successfully.
any movement on this? Would really be helpful to have email notifications
any movement on this? it would be great to have this feature enabled or this module integrated with ECA for more power handling
Elvin - Albania Drupal Developer → changed the visibility of the branch 8.x-1.x to active.
Elvin - Albania Drupal Developer → changed the visibility of the branch 8.x-1.x to hidden.
After creating a custom block, the permission appears on the page admin/people/permissions/module/block_permissions and also i am able to save other permissions without problem.
My friend @danherrero pointed this out:
In the BlockPermissionsPermissions class in the module there's a permissions() function that loops through all the block definitions and adds a permission for each definition. Since the block_content definition doesn't exist until there are custom blocks we run into that error.
Elvin - Albania Drupal Developer → created an issue.
Thank you for the fix @johnv
Elvin - Albania Drupal Developer → created an issue.
Elvin - Albania Drupal Developer → created an issue.
in case anybody else stumbles here.
@Toby_toby
You would have to update your load.environment.php file as follows (https://github.com/vlucas/phpdotenv):
<?php
use Dotenv\Dotenv;
/**
* Load any .env file. See /.env.example.
*
* Drupal has no official method for loading environment variables and uses
* getenv() in some places.
*/
$dotenv = Dotenv::createUnsafeImmutable(__DIR__);
$dotenv->safeLoad();
i got the same error after upgrading that package over 2.x and this code fixed it
Elvin - Albania Drupal Developer → created an issue.
Thanks a lot @mikeluts for the time and thorough reply! I did not think of using null_coalesce
I did lots of trial and error till i reached my end solution and stuck with that as it did get the job done fine at the moment.
not really. it was a long time ago and i moved on from that project too :(
I did end up solving my issue by updating the mapping to return an array as well and used extraxt to get either value
pseudo_test_img_source:
-
plugin: default_value
source: field_wms_bg_image
default_value: para_cta
pseudo_bundle:
-
plugin: static_map
source: '@pseudo_test_img_source'
map:
'para_cta':
-
para_cta
default_value: 'para_cta_img'
-
plugin: extract
index:
- 0
type: '@pseudo_bundle'
Still wonder if static_map should get altered -_-
Elvin - Albania Drupal Developer → created an issue.
Thank you @sl27257. the regex pattern in #16 helped me identify all the occurrences in no time