How do I render content “as is” from custom controller

I’ve created a custom controller that pulls content from another node (the body). That content is defined in the node as Raw HTML. public function page(Request $request): array { $nid = $request->attributes->get(‘_nid’); $node_storage = $this->entityTypeManager()->getStorage(‘node’); $node = $node_storage->load($nid); $content = $node->get(‘field_content’)->value; // Load Entity using passed NID from key. $build = $content; // Return new…

How to manage custom module for development but repository module for production?

There is a module that I frequently post patches for and use the latest development version. I have created a composer.json that includes: “repositories”: [ { “type”: “path”, “url”: “web/modules/custom/*” }, … and later … “require”: { “drupal/THEMODULE”: “*”, …. The git repository for THEMODULE resides at web/modules/custom/THEMODULE. Locally I manage the repository there, pushing,…

Successfully add new column and field for registration. But where does the data save for new field?

I successfully added new field for the registration form. But the problem I’m facing right now is where does the data save? In which table in database? I tried looking in the customer_entity but the data is not saved there. Any idea? enter image description here And here’s my code for the front end. Magento_Customer/templates/additional.phtml…