Search Results
… item of content. This system creates powerful search engine friendly URLs that can add keywords to the paths that Drupal uses to find … ->setLabel(t('Slug')) ->setDescription(t('The url slug of the entity.')); return $fields; } } Note the addition of … definitions. This will be used to store the name of this entity as a URL safe string that we can use to convert back into the entity object …
… in the ajax callback. The // weight of these elements is set to -50 and +50 so that all other // elements will appear between them. … = [ '#markup' => '<div class="lazy-button-wrapper">', '#weight' => -50, ]; $build['dynamic_lazy_button_suffix'] = [ '#markup' => '</div>', …