Search Results
… contains a long alpha-numeric string, and this is hashed using a URL-safe sha-256 hashing algorithm to a different value when saving it … in this form, but the two main methods of interest are getCancelUrl() and submitForm(). The getCancelUrl() is used to generate the link back to the page the user came from, …
… { $links = []; $links[] = [ 'title' => 'Some title', 'url' => 'internal:/node/666', 'menu_name' => 'main', ] + … use Drupal\Core\Url; use Symfony\Component\DependencyInjection\ContainerInterface; … ->loadTree('category', 0, 2, TRUE); foreach ($terms as $term) { // Get URL of object. $term_url = Url::fromRoute('entity.taxonomy_term.canonical', ['taxonomy_term' …
… page of content. The screenshot shows that the cache has a context of "url.path.parent", "url.path.is_front" and "url". This also shows that the maximum age of the cache is permanent …
Article: Drupal 9: 7 Composer Tips
… of patch names and paths. The path can be a local file or a remote URL. ... "extra": { "patches": { "drupal/core" : { "2975721: Incorrect … installed Pathauto will provide a new "Update Action" in case your URLs change. This is the recommended update action and is considered …
Article: Drupal 9: Configuring Drupal To Authenticate Against A Remote SimpleSAMLphp Identity Provider
… IdP called __DYNAMIC:1__ . SimpleSAMLphp will replace this with the URL of the site, which can create a little bit of confusion when … you'll see a bunch of output. This consists of your metadata URL, the SAML 2.0 metadata XML, a PHP representation of the same and …
… the PageSpeed is to visit the site at pagespeed.web.dev and enter the URL you want to test into the form on that page. This will run through …
… Set the filter to provide a default value of the content ID from the URL. This will automatically pass the current page to the contextual …
… to find Drupal packages. "repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8" } ], This essentially means that …
… $url = $style->buildUri($file->getFileUri()); $this->fileSystem->unlink($url); } else { // Add the image we created to a media item. $imageMedia …
… Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>'; When you …