This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://patternlab.io/ | |
| https://www.videodrupal.org/video/20190512/twig-fractal-drupal-decoupling-ui-components-drupal-data-structures | |
| PDF: | |
| https://www.drupalgovcon.org/sites/default/files/session/slides/2018-05/component_theming_ui_patterns.pdf | |
| Modules: | |
| https://www.drupal.org/project/ui_patterns | |
| https://www.drupal.org/project/components |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024;sudo /sbin/mkswap /var/swap.1;sudo /sbin/swapon /var/swap.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo date(DateTime::ISO8601); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add coder to run command line interface. | |
| - composer require --dev drupal/coder:^8.2.11 | |
| // Get dependency for sniffer. | |
| - composer update dealerdirect/phpcodesniffer-composer-installer acquia/blt sensiolabs-de/deprecation-detector --with-all-dependencies | |
| // Check list of standards packages installed. | |
| - vendor/bin/phpcs -i | |
| // Run to know Drupal practice issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Install file for content_moderation. | |
| */ | |
| use Drupal\content_moderation\Entity\ContentModerationState; | |
| use Drupal\Core\Field\BaseFieldDefinition; | |
| use Drupal\Core\Database\Database; |
OlderNewer