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.
After replace core to new version from 8.1.3 to 8.1.5 have error:
PHP Fatal error: require(): Failed opening required '.../core/modules/user/src/UserServiceProvider.php' (include_path='.:/usr/local/zend-5.6/share/pear') in .../vendor/symfony/class-loader/ApcClassLoader.php on line 110
After I had read the documentation about the form/field api I wanted to create my first module.
My goal was to create a date field with a restriction, so that people can't set a date before tomorrow.
(the date restrictions module is not available for drupal 8)
The field is placed inside a contact form and the main goal is already working.
All the dates before tomorrow are restricted.
But I wonder if I maked some mistakes in my code so someone with more experience can review it.
Hi every one, there is something i don't get in drupal theming i think, if i create a content type lets say Bikes, i add 20 bikes, i create a view Bike-listing that list the 20 bikes, when i click on one of the bike (thru the content link i added in my view) it send me to the full content page of this bike but is there a way to also attach a custom view to this page ?
I'm using a custom jQuery validation script as a custom Drupal.behavoir with a Drupal Contact Form on a Drupal 8 site which works fine if the user is not logged in, however when logged in the script will fire three times on submit. I assumed this was due an AJAX action that only present when logged in. I have the jquery.once dependency declared in my theme, and can see the jquery.once plugin in the compiled JS file, however I cannot get it to work at all. There are no errors in the console or in Drupal Watchdog, but jquery.once never adds a class to the context element.