Search Results
… I like working with DrupalVM and I've worked with Ansible based Vagrant setups … Vagrant, but you can run it with Docker if you like. When starting a new site project I normally add DrupalVM to the codebase so that I can … on what is in the recommended composer file see my previous blog post on the subject . After this step you can require any other …
… in PHPStorm. parameters: level: 0 paths: - web/modules/custom editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%' This means that I …
… over and each one is placed into the sitemap.xml file as an absolute URL. We do this by adding each link to the $arbitrary_links array that … by the Simple XML Sitemap module as a new link. <?php use Drupal\Core\Url; /** * Implements hook_simple_sitemap_arbitrary_links_alter(). */ … 'TRUE') { // This is a public link, so add to the sitemap.xml file. $url = Url::fromRoute($routeName, [], ['absolute' => TRUE, 'https' => …
… add needed attributes. $image->setAttribute('src', $file->createFileUrl()); $image->setAttribute('data-entity-uuid', $file->uuid()); …