Job #
Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce
- URL:
- Click on '....'
- Scroll down to '....'
- See error
{"lastUpload":"2019-12-04T19:45:24.519Z","extensionVersion":"v3.4.3"} |
[ | |
{ | |
"name": "analytics", | |
"color": "feab0a", | |
}, | |
{ | |
"name": "bug", | |
"color": "d73a4a", | |
}, | |
{ |
{"lastUpload":"2019-12-04T19:41:17.855Z","extensionVersion":"v3.4.3"} |
Job #
Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce
Structure: DRUPAL_FORM_ID|EMAIL:drupal_form_email_field|MAILCHIMP_MERGE_TAG:mailchimp_field_type:drupal_form_field | |
Example: warranty_form|EMAIL:field_email|FNAME:text:field_fname,LNAME:text:field_lname,MMERGE5:phone:field_phone,MMERGE6:birthday:field_birthday. |
# .platform/services.yaml | |
rediscache: | |
type: redis:3.0 |
# .platform.app.yaml | |
runtime: | |
extensions: | |
- redis | |
relationships: | |
redis: "rediscache:redis" |
<?php | |
# app/config/parameters_platform.php | |
$relationships = getenv("PLATFORM_RELATIONSHIPS"); | |
if (!$relationships) { | |
return; | |
} | |
$relationships = json_decode(base64_decode($relationships), true); |
// https://kindrakevich.com/notes/drupal-8-render-images-image-style | |
// Find a derivative URI and URL: | |
$original_image = 'public://images/image.jpg'; | |
use Drupal\image\Entity\ImageStyle; | |
$style = ImageStyle::load('thumbnail'); // Load the image style configuration entity. | |
$uri = $style->buildUri($original_image); | |
$url = $style->buildUrl($original_image); | |
// Create a derivative image programmatically: | |
$original_image = 'public://images/image.jpg'; |