Twig en Drupal
Tipo de contenido: {{ node.type.entity.label }}
Tipo de contenido: {{ node.type.entity.label }}
https://stackoverflow.com/questions/16432071/how-to-fix-homebrew-permissions
# For a symfony application to work properly, you MUST store this .htaccess in
# the same directory as your front controller, index.php, in a standard symfony
# web application is under the "public" project subdirectory.
# Use the front controller as index file.
APP ENV=dev
APP ENV=prod
En el archivo .env
php bin/console cache:clear
{{ node.label|upper }}sites/default/services.yml. Si el archivo no existe, copia el archivo default.services.yml (en la misma carpeta), y renómbralo como services.yml
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
ddev exec ls (ddev.ls)
ddev snapshot
ddev restart
ddev launch
ddev config
ddev config --project-type=php
Ver comandos personalizados: https://www.youtube.com/watch?v=QYrnRij9KKA