PHP code example of studiometa / drupal-project
1. Go to this page and download the library: Download studiometa/drupal-project library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
studiometa / drupal-project example snippets
// Pour importer un atom présent dans le theme (fallback sur le package si non existant)
{% wig' %}
{#
/**
* @file
* Name of the File
*
* @param {string} title
* @param {string} description
* @param {array} image
*/
#}
// Clean une variable des balises pouvant provoquer des attaques XSS
{{ var|meta_sanitize }}