PHP code example of niklan / drupal-starter
1. Go to this page and download the library: Download niklan/drupal-starter 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/ */
niklan / drupal-starter example snippets
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/monolog.services.yml';
yaml
parameters:
monolog.channel_handlers:
# Drupal's core channels.
default: ['rotating_file.default']
php: ['rotating_file.php']
image: ['rotating_file.image']
cron: ['rotating_file.cron']
file: ['rotating_file.file']
security: ['rotating_file.security']
mail: ['rotating_file.mail']
system: ['rotating_file.system']