Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 45430

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

1 vote
3 answers
1k views

How do I add the noscript tag?

I've a drupal 8 website, where in every page, I would like to add a noscript tag for every script tag. In drupal 8, in html.html.twig, I saw the scripts variable in missing. … So how do I do that in Drupal 8? …
Fazeela Abu Zohra's user avatar
6 votes
1 answer
23k views

How do I call a controller function in a module?

I am trying to access a static method of a controller class from a module, but my code doesn't work. This is the controller class. namespace Drupal\content_statistics\Controller; use Drupal\Core\Co …
Fazeela Abu Zohra's user avatar
0 votes
2 answers
388 views

How do I format a field in views?

I have an FAQ page, where in the title it has some html tags, I would like to show the title in the views. When the view is displayed, it is showing html tags as well. How can I get the html processed …
Fazeela Abu Zohra's user avatar
0 votes
0 answers
42 views

How to remove the tags from appearing in exposed filter textfield

I've a view in Drupal 8, in which I've an ajax auto complete field, which contains tags. I've not checked Unformatted dropdown, and Unformatted suggestion. …
Fazeela Abu Zohra's user avatar
-1 votes
1 answer
639 views

How to set title for video embed field

How can I add one for iframe in drupal 8. …
Fazeela Abu Zohra's user avatar
0 votes
1 answer
60 views

How do we theme node view component? [closed]

I've tried to theme a portion of a node by adding some values in to it using hook_theme and a twig template I've used hook_node_view to add a few variables and then I have included the theme speci …
Fazeela Abu Zohra's user avatar
0 votes
1 answer
3k views

How do I implement a custom theme function?

Is the custom theme function format changed in Drupal 8? …
Fazeela Abu Zohra's user avatar
0 votes
1 answer
285 views

How to create static breadcrumb

I've 3 forms, above the form I need to set the progress of the form in the form of breadcrumb, Drupal 7 $breadcrumb[] = l('hi', '/hi'); drupal_set_breadcrumb($breadcrumb); In drupal 8 I've tried to …
Fazeela Abu Zohra's user avatar
2 votes
0 answers
248 views

Where are the po files and how to translate strings without using the UI?

I'm using Drupal 8 built-in translation. I've English and Spanish in my website. I've translated the website to Spanish as well. But I don't see any po files for the translation script. …
Fazeela Abu Zohra's user avatar
-1 votes
3 answers
4k views

Where to add "No results behaviour" to a view?

I'm using an exposed filter. When there is no result, where do I add "No results behavior" for the view?
Fazeela Abu Zohra's user avatar
2 votes
2 answers
3k views

How to include menu item in breadcrumb

I've this breadcrumb I've created, where I would like to show it as Home > Main menu > Sub menu Where sub menu is connected to a node. So when a user click on node, it must show the breadcrumb of th …
Fazeela Abu Zohra's user avatar
1 vote
3 answers
1k views

How to unset the title of a custom form field

I'm trying to unset the label of a custom form called email. In which the value is in the #title key. I've tried {{ value|without('title', 'description', 'email.#title') }} But it is not working
Fazeela Abu Zohra's user avatar
0 votes
1 answer
996 views

How to process html in twig file

I've a plain text field, where I've added few text in wrapped in tag. I've tried to get the processed html text in the twig by using {{ content.field_front_page_description|field_value }} {% …
Fazeela Abu Zohra's user avatar
1 vote
0 answers
366 views

Theme hook suggestion not working

I've a node, I'm trying to theme the same with the title of the node. I've written the code for it. Now when looking the source code, the twig file is showing also, but it is directly taking node twig …
Fazeela Abu Zohra's user avatar
1 vote

Drupal 8 blocks content is not being translated

You need to navigate to admin/config/regional/translate. Try to search for "Test NL" in the input field. It will give you the string on the left side along with a text-field to the right. Enter the tr …
Fazeela Abu Zohra's user avatar

15 30 50 per page