New answers tagged uri
-1
votes
Get page title form url
Try this solution for get title from view page url.
in your custom module
==> .module file
use Drupal\views\ViewExecutable;
function display_form_mode_views_post_render(ViewExecutable $view) {
...
0
votes
Register an object with the Service Container and give it a setRequest() (get base url)
Here's an example (extracted from real code I just wrote in for Drupal 10.1) of getting the current request from the request_stack service in a plugin. Another service would just be wired into your ...
0
votes
Mod rewrite enabled and working, urls contain index.php/
I have had the same or similar problem with Drupal 10.1.x when logged in when running PHP (8.1.x) as a FPM application on Apache 2.2. i.e. index.php being prepended to url path despite mod_rewrite ...
Top 50 recent answers are included
Related Tags
uri × 11427 × 313
8 × 145
views × 144
path-aliases × 75
redirection × 73
nodes × 70
theming × 61
media × 58
users × 55
taxonomy-terms × 53
routes × 46
entities × 44
i18n-l10n × 43
files × 42
.htaccess × 38
6 × 37
navigation × 29
forms × 27
search × 22
blocks × 20
hooks × 18
javascript × 15
database × 13
multi-sites × 12