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 73688

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

0 votes
Accepted

How to insert form into existing page template

I was able to resolve this myself using template_preprocess() and generating the form from there
  • 161
0 votes
0 answers
80 views

Custom entities

I am a Drupal 7 avid user and I am just getting into Drupal 8 development for work. … Because I haven't been able to find it in the Drupal 8 documentation. …
  • 161
-1 votes
1 answer
66 views

How to insert form into existing page template

Working in D8, I am trying to insert a form into an already created page/template file. I am using webforms, and on the webform submission page (that lists the submission details), I am trying to inse …
  • 161
1 vote

Correct views hook to alter contextual filter

I was able to use achieved what I wanted by using hook_views_pre_build() as below hook_views_pre_build(ViewExecutable $view) { $args[0] = '1234'; $view->addArguments($args); }
  • 161
0 votes
0 answers
48 views

Multiple databases

I'm having trouble getting Drupal to switch between multiple databases. I have a system that involves connecting to an external database to retrieve data. I am using the following code inside of a for …
  • 161
1 vote
0 answers
80 views

Using a #submit callback on a textfield

We have a need to add 'repeatable fields' to a form based on input provided in a textfield. Usually, we use a 'add another' button to keep track of the number of fields to render in the buildForm(), a …
  • 161
0 votes
1 answer
59 views

Cannot get form_state storage or protected form values to work

I am building a form using formBuilder. I have tried two methods to store values across form submit/validate for usage in ajax callbacks, but have been unsuccessful in either. The first method, was to …
  • 161
0 votes
1 answer
57 views

Error with creating custom fieldtype

I am creating a custom multi-value fieldtype for some functionality that I need. I have been using the drupal core 'telephone' module and the contrib 'address' module as reference, but am running into …
  • 161
1 vote
1 answer
414 views

Correct views hook to alter contextual filter

I am trying to find the correct views hook to alter/add a contextual filter to a views block that's being rendered in a template. (Using drupal_view and the twig tweaks module). The view is setup to a …
  • 161
0 votes
1 answer
52 views

Proper usage of config_split

I am trying to use config_split so we can ignore/disable some modules/configurations on our dev environments, and we don't want them to carry over to our production environments. I think I am setting …
  • 161
1 vote
1 answer
45 views

Making custom template & variables in module

I am working with D8, and don't usually do themeing, so I am stuck on a problem. I have a custom route in a custom module that calls a method checkinConfirmation() on a controller. Inside that control …
  • 161
0 votes
1 answer
216 views

Custom views filter to select roles

I have scoured the internet trying to find information on how to achieve this functionality to no avail. I am hoping I can get an answer here. I have a content type called 'Server' on my website. On …
  • 161
0 votes

Automatically have an email sent to page author 11 months after its published date

There isn't a scheduler or Rules available for D8/9 anymore which would've made this easy, but you can build a somewhat simple module that creates a cron job, and in that job you can query each piece …
  • 161
0 votes
2 answers
87 views

How to alter output of markup on a specific views field

Is there a way to change the output programatically on a specific field in d8 views? I have a field called 'IMCID' which I want to output as a link, but the link is going to change based on the value …
  • 161
0 votes

Custom form validation is missing

What exactly are you trying to do? It looks like you are trying to do custom validation without actually submitting the form?
  • 161

15 30 50 per page