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.
So far I was happy with composer setup in one of my projects where everything was managing through composer such as core, contrib modules, and patches etc. However, yesterday the Drupal build got failed. After debugging, I found that Composer was unable to apply one security patch. I checked that patch and found it no longer exists (throwing 404). Lately, I realized that due to GitLab migration that patch has moved and a new path for that patch needs to be added to the composer.
Post this incident, one question arises that what is the recommended way to use composer.
We need to set default MySQL values on schema creation, for example:
`type` int(10) UNSIGNED NOT NULL DEFAULT 6
We have seen that you can set the default value if you use schema definition using the 'default' key but not using the BaseFieldDefinition class. Is this a bug or a feature?
For example for int we would have to define the default value in 'core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php' we would add in schema() the line:
I am not an IT person but have a bit of experience with drupal from a few years back, so I would like to give this a go.
I work in a hospital and am hoping to improve upon our handling of patient referrals and inpatient management. This isn’t a fully fledged Electronic Patient Record but rather a location for generating lists and profiles for patients and documenting the major points of their inpatient stay (mainly operations performed and visits)