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 91335

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
1 answer
2k views

How to connect to MySQL using Docksal?

I'm using Docksal as a local environment. How do I connect to the MySQL database in the Docksal container? Can I just use my local instance of MySQL instead? Also if anyone knows how to import a datab …
Jake Stewart's user avatar
3 votes
Accepted

How to connect to MySQL using Docksal?

Connecting to a local MySQL DB did not work, however, this did: cd docroot fin db import /path/to/.sql/file More can be found here https://docs.docksal.io/service/db/access/.
Jake Stewart's user avatar
1 vote
1 answer
987 views

How to properly call dependency classes (Class not found)

I'm creating a custom module that uses PHPMailer, which has been installed in the module's vendor folder via composer. This is the error I get: Error: Class 'PHPMailer' not found in Drupal\multisend …
Jake Stewart's user avatar
1 vote
2 answers
264 views

How to Write Browser Tests on Custom Theme?

I'm writing front end tests for a custom webform. These tests work fine when testing on the webform page of the form. $this->drupalGet('/webform/custom_form'); $this->assertResponse(200); However, t …
Jake Stewart's user avatar
0 votes
0 answers
750 views

Form action as controller method?

I'm trying to fix a form that was created using a twig template. The form was not working because there was no action, nor was the form created using FormStateInterface. It's just a block that is rend …
Jake Stewart's user avatar
0 votes
1 answer
110 views

How to create entity within blockForm?

I would like for users to be able to create new paragraph entities within the form of a custom block instead of going into the linked content type and adding the content. In the past, I've always use …
Jake Stewart's user avatar