my_custom_module1.routing.yml
Solution 1 (low level security: at least one of roles required):
Solution 1 (low level security: at least one of roles required):
Problem (Error in Drupal Status Report):
Blazy
Not enabled: Use theme_blazy()
Blazy 3.x replaces sub-modules theme_ITEM() contents with theme_blazy(). Keep "Use theme_blazy()" enabled at Blazy UI to pass blazy:3.x.Solution?
Problem:
InvalidArgumentException: "alignment" is an invalid render array key. Value should be an array but got a string. in Drupal\Core\Render\Element::children() (Zeile 97 in /var/www/web/core/lib/Drupal/Core/Render/Element.php).
Solution?
Solution:
if( \Drupal::currentUser()->hasPermission('create article content') )
{
// ...
}
Code:
$current_user = \Drupal::currentUser();
$roles = $current_user->getRoles();
// print_r( $roles );
Neueste Kommentare
Short Code w. Radio Buttons, Checkbox, Textarea, Email, Phone
$("input[type='radio']").each(function () {Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem: