Skip to content
Snippets Groups Projects
  1. Jan 28, 2023
  2. Jan 27, 2023
  3. Dec 15, 2022
  4. Nov 08, 2022
  5. Nov 07, 2022
  6. Apr 29, 2022
  7. Mar 29, 2022
  8. Feb 15, 2022
  9. Feb 14, 2022
  10. Jun 18, 2020
  11. Jun 16, 2020
  12. May 27, 2020
  13. Apr 27, 2020
  14. Mar 09, 2020
  15. Feb 25, 2020
  16. Jan 13, 2020
  17. Dec 20, 2019
  18. Dec 05, 2019
  19. Dec 04, 2019
  20. Dec 02, 2019
  21. Nov 19, 2019
    • Jim Berry's avatar
      Issue #3085206 Add condition plugin logic to containers. [step three] · 99941dcc
      Jim Berry authored
        Augment ContainerAccessControlHandler::accessCheck to resolve conditions.
        Override resolveConditions() and call condition::evaluate() on the custom
          plugins instead of condition::execute().
        Add access check against condition plugins to Container::insertSnippet().
      99941dcc
    • Jim Berry's avatar
      Issue #3085206 Add condition plugin logic to containers. [step two] · d7df4e4e
      Jim Berry authored
        Add condition plugin items to data_types.schema.yml file.
        Add condition plugin properties and routines to container class.
        Implement condition plugins with container form.
        - inject services to the ContainerForm
        - add routines to build, validate, and submit the condition plugin forms
        Omit condition plugins on the settings form.
        - domain and language do not lend themselves to being default items
        Refactor admin.js to also handle domain and language conditions.
      d7df4e4e
    • Jim Berry's avatar
      Issue #3085206 Add condition plugin logic to containers. [step one] · 1dd43238
      Jim Berry authored
        Replace the core condition plugin base class.
        - omit the 'negate' configuration item
        - allow the plugin to fully 'evaluate' the condition
        Create condition plugins for the domain and language conditions.
        - extend the custom base class
        - reuse parent routines with consistent child classes
        Implement hook_plugin_filter_TYPE_alter() to restrict use of these plugins
          to this module.
      1dd43238
Loading