Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hello. A question. I am adding to a field entity reference field, select type, the required option, is dependent on another field, using form api state. And he doesn't react. It is the latest version of drupal. Has something changed? In the other text type field it works. I have tried everything exposed on the Internet and it does not become a required field. And very important is an entity reference field. Thanks for the help.
I'm trying to learn how to develop modules and I'm having controller path problems
InvalidArgumentException: Class "\Drupal\new_module\Controller\NewModuleController" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of core\lib\Drupal\Core\DependencyInjection\ClassResolver.php).
Hello, in a view I have a column with entity reference field that displays me the Description.
In the exposed filter I put the same field (it shows me as textfield and machina name field_required_target_id). In order to filter the data, I have to write the id of the entity reference.
The choice has to be made by description and in, views_exposed_form I transform the field field_requiring_target_id, from type->textfield to type->entity_autocomplete
When I perform the search, the field turns out to be linked with the description and filters my movements well.
Hi my site is running fine on multi server databases(2). Now there is a requirement in which 1 need to run a join query(3 joins) in that I need to get 1st and 3rd joins record from server1 db and 2nd join record from server2. I am not understanding how I can run such a query. Need you help.