I have created a custom form which stores the name of the book and the type of the book. I have created the mymodule.install file but I cant install the module. It shows the following error,
Notice: Undefined index: :normal in Drupal\Core\Database\Driver\mysql\Schema->processField()
I have pasted the .install file, please let me know where the syntax error is:
I have created a form to store the book name and the book type. I have facing some errors with the .install file. Whenever I am trying to install the module, the following error shows up:
Notice: Undefined index: :normal in Drupal\Core\Database\Driver\mysql\Schema->processField()
The following is my .install file code
<?php
/**
* @file
* Install, update and uninstall functions for the mymodule module.
*/
I have done several websites with Drupal 7, so I am not a complete newbie.
Now as I am trying my luck with Drupal 8, for the first time ever, I made a very simple test module in Drupal 7 style, and tried to install it by following my trusted personal installation log, by which commands and actions I have successfully installed my Drupal 7 modules.
I know (generally) what I want as my end result, but I'm completely lost in how to even approach this problem. I have a custom module that interacts with Webform in various ways, to include dynamically creating select values and text based on results in a database. The element itself is a "Custom Composite" element, with the select as one portion and users can add as many rows as required. I need to generate a hyperlink or button that will take the user (via a new tab) to a page that provides details about the selected Ticket ID (the url will be of the form: ~/page/{select_value}).
In Drupal default pager is act as refresh the page to list paged contents with pagination. We can change pager to Ajax pager with simple below javascript. The Ajax pager helps to load next page content instead of loading full page.