[Update 2024] - Take a look at Drupal at your fingertips. Lot's of great stuff there.
// Load file object
$file = File::load($fid);| Snippet: [[SnippetName]] | |
| Chunk: [[$ChunkName]] | |
| System Setting: [[++SettingName]] | |
| TV: [[*fieldName/TvName]] | |
| Link tag: [[~PageId? ¶mName=`value`]] | |
| Placeholder: [[+PlaceholderName]] | |
| <?php |
| <?php | |
| /** | |
| * @file | |
| * Contains Drupal\dmouse\Controller\SubRequestController. | |
| * Generated by drupal/console. | |
| */ | |
| namespace Drupal\dmouse\Controller; |
| <?php | |
| /** | |
| * Set redis configuration. | |
| */ | |
| /** @see: https://docs.platform.sh/frameworks/drupal8/redis.html */ | |
| if (extension_loaded('redis')) { | |
| // Set Redis as the default backend for any cache bin not otherwise specified. | |
| // $settings['cache']['default'] = 'cache.backend.redis'; |
[Update 2024] - Take a look at Drupal at your fingertips. Lot's of great stuff there.
// Load file object
$file = File::load($fid);| ARG BUILD_IMAGE=maven:3.5-jdk-11 | |
| ARG RUNTIME_IMAGE=openjdk:11-jdk-slim | |
| ############################################################################################# | |
| ### Stage where Docker is pulling all maven dependencies ### | |
| ############################################################################################# | |
| FROM ${BUILD_IMAGE} as dependencies | |
| ARG PROXY_SET=false | |
| ARG PROXY_HOST= |