This file contains 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
drush eval "var_dump(Drupal\Component\Utility\Crypt::randomBytesBase64(55))" |
This file contains 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
// single | |
$service = \Drupal::service('entity_type.manager')->getStorage('node'); | |
$node = $service->load(22); | |
// multiple | |
$entity = \Drupal::entityTypeManager()->getStorage($entity_type)->loadMultiple(array(22, 14, 8)); |
This file contains 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
<table class="views-view-grid" width="100%" bgcolor="#d4efcc"> | |
<tr> | |
<td><h2>🇺🇦</h2></td> | |
<td>This module is maintained by Ukrainian developers. | |
Please consider <a href="https://supportukrainenow.org">supporting Ukraine</a> in a fight for their freedom and safety of Europe.</td> | |
</tr> | |
</table> |