Skip to content
  1. Nov 13, 2017
  2. Nov 12, 2017
  3. Nov 10, 2017
  4. Nov 09, 2017
    • Kevin Day's avatar
      Migrate: move drupal 7 quail api code to drupal 8 and utilize more drupal 8 design practices · 64662f80
      Kevin Day authored
      This moves the code store in quail_api.module into different classes.
      This is not a full drupal 8 style usage, which should likely utilize the Plugins API.
      
      I am not implementing this via Plugins API (or something similar) particularly because I want to focus on getting a Drupal 8 production release sooner than later.
      I can come back later and implement a 2.x version that more thoroughly utilizes the Drupal 8 APIs to their fullest extent.
      These plans should be considered tentative.
      64662f80
  5. Nov 08, 2017
  6. Nov 07, 2017
  7. Nov 06, 2017
    • Kevin Day's avatar
      Migrate: Utilize drupal 8 filter format default on presentation and add... · 090d1412
      Kevin Day authored
      Migrate: Utilize drupal 8 filter format default on presentation and add administration settings page
      
      I manually added a link menu, called 'accessibility.admin_index'.
      I think accessibility is a common think and may, in the future, suggest the inclusion of an 'accessibility.admin_index' admin config path in drupal 8 core.
      090d1412
    • Kevin Day's avatar
      Update: add drupal 8 version of drupal_alter(), restoring previously removed... · cce2104c
      Kevin Day authored
      Update: add drupal 8 version of drupal_alter(), restoring previously removed hooks during migrate changes
      
      I removed the drupal_alter() instances in a previous migrate commit.
      I discovered that there is a \Drupal::moduleHandler()->alter() call available that is essentially drupal_alter().
      This will allow me to preserve the previous behavior for allowing other modules to alter quail api properties.
      
      This is added in theory and is untested.
      
      I also noticed that the previous design was calling the drupal_alter() even when cache is available.
      This time, if the cache exists, then the appropriate hooks were already called and do not need to be called again.
      cce2104c
    • Kevin Day's avatar
      Migrate: add quail api twig templates, test and implement against node_accessibility · b1f454d0
      Kevin Day authored
      I have begun my work on migrating node_accessibility.
      This is a collection of changes made while migrating node_accessibility.
      
      The drupal 7 code used the template preprocess hooks to initially variables.
      With drupal 8, this becomes a problem because variables are pre-processed and initialized by twig.
      Thus, the drupal 7 code would overwrite the variables provided by drupal 8.
      
      The drupal 8 document claims that the twig templates should be in the templates directory and have '-' in place of '_'.
      However, in practice, I received errors where twig was looking for the variables in the includes directory and with '_' instead of '-'.
      
      Much of the code still present is needs to be updated, replaced, or removed.
      
      Drupal 8 examples show that the Unicode class is to be used for calling strtolower, but I had class undefined errors and was forced to call strtolower() direc
      This will be a problem with multibyte, but is good enough for a temporary setup until I finish implementing and testing the node_accessibility module.
      
      The database information will probably be removed.
      I intend to utilize drupals entity crud for attaching the validation results on a per node basis.
      This might become a problem, performance-wise, when generating statistics, but I won't know until I try.
      This approach will (ideally) allow for better integration and less work on my end.
      The downside is that there will be more work when it comes to providing a database migration functionality from d7 to d8.
      
      I am going to remove code that I have not yet migrated and then add it back once I can learn, test, and confirm it is working.
      This will help me avoid stale code issues resulting from the migrate.
      b1f454d0
  8. Nov 02, 2017
  9. Jan 25, 2016
  10. Jan 24, 2016
  11. May 13, 2015
  12. Dec 02, 2014
  13. Oct 02, 2014
  14. Mar 06, 2014
  15. Nov 25, 2013
  16. Nov 11, 2013
  17. Aug 29, 2013
  18. Jul 22, 2013