Drupal Flight Control - Documentation

See Drupal Flight Control

This is the central point to get some information around the Flight Control project.
If you have questions or recommendations, please let me know.

Quick start
https://www.drupal.org/node/2471475

Development info / guidelines
https://www.drupal.org/node/2489784

Drupal 8: Writing secure code

Whether you are writing a PHP snippet or an entire module, it is important to keep your code secure.

How to fix "The following module is missing from the file system"

This warning is new in Drupal since 7.38 (@todo). It is caused by a wrong module_load_include/drupal_get_path/drupal_get_filename or any other module (in)directly calling drupal_get_filename without checking if the module exists with module_exists.

The warning can also be caused by a wrong record in the system table of Drupal. This wrong record can be caused by removing a module without uninstalling it.

Functions - In Twig Templates

TBD

The url and path function are defined in close parallel to those found in \Symfony\Bridge\Twig\Extension\RoutingExtension

url()

path()

url_from_path()

link()

file_url()

attach_library()

// This function will receive a renderable array, if an array is detected.
render_var(), for internal use don't use.

How to use Validate Data Module

The purpose of the "Validate Data" module is allow the developer to add a validation test to any field available on a node or webform. This function is not attached to the node so you can use the same "validators" on different fields and on different nodes. You have the option of selecting one or more Jquery Validator and/or a PHP Validator on any one field. Another nice feature is that the Jquery is tested when the cursor leaves the input box, while the PHP test is used when the node is save or when JAVA is turned off.

Pages

Subscribe with RSS Subscribe to RSS - Designers/themers