Drupal 8

Run composer with different php version

If your default php is 7.2 for ex. but your site is with php7.4-fpm, how to use the same php7.4 when using composer for managing the modules?
How to have multiple php? https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php...
How to use them?
Just in virtualhost config use as

Category: 

Drush/PHP различни версии

Използване на различни версии на drush и различни версии на PHP.
Инсталиране на drush:
git clone в /opt/drush-9.x (https://github.com/drush-ops/drush),
cd /opt/drush-9.x
composer install

Инсталиране на PHP-7.1 - с phpfarm (https://github.com/fpoirotte/phpfarm)

.bashrc

Category: 

Placeholder types

@variable — Use this style of placeholder for most use-cases. Special characters in the text will be converted to HTML entities.

%variable — Use this style of placeholder to pass text through drupal_placeholder() which will result in HTML escaped text, then wrapped with tags.

:variable — Use this style of placeholder when substituting the value of an href attribute. Values will be HTML escaped, and filtered for dangerous protocols.

Category: