I'm quite new to Drupal and developing a little Wizard for my company. But i do not get the number field to accept any floatingpoint values or the text field to validate, that my text is really a number.
I do know the question did not arrise the first time, but nothing i found could solve my problem.
I'm trying to make a custom page created with hook_menu() and in the callback function, I need to get a variable with HTML code which is returned by a library I'm using. I tried getting it with page_callback_function($html) but page callback functions get variables from hook_menu arguments. How can I achieve this?
Hello, this might be a vague post, but will try my best.
I have a situation where we have one code base and multiple dev and test environment.
I am in a situation where the developers are claiming a particular heavily customized module function is displaying on one environment but not in the other.
I checked and double checked and I am pulling the correct code from the correct git repo.
I also checked apache permissions and file and folder permissions. They seem all correct.
I added an event subscriber for add to cart event. There I defined a function to react on add to cart event. Everything works fine as my eventsubscriber is being called. I want to update the unit price of product which is being added to cart. Below is the code I used but it is not working. Price of the product is not updating to the price I am setting.
Hello I have create a module, I have create also the file field.storage.paragraph.parrados_description.yml,
I can assign the field with the UI.
But what I'm looking is to assign the field to the bundles programatically throught a form, What is the method or function that let assign a field to a entity?