Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is the latest beta release before the first RC and contains various bug fixes (see list below), massive test coverage and adds a new sub-module for commerce products support. To apply changes properly, the database updates is required (drush updb).
Thanks to our contributors (45)
ccshannon, nadavoid, amitchell-p2, loze, Matroskeen, oknate, Anybody, benjifisher, mmbk, Etroid, Dylan Donkersgoed, keshav.k, rafmagsou, marvil07, mandclu, drupalmonkey, kapilkumar0324, andypost, xavier.masson, codebymikey, JeroenT, idebr, leendertdb, zvse, Daniel Korte, markdc, nikitagupta, ankithashetty, chrissnyder, nejcramsak, Webbeh, blacklabel_tom, munish.kumar, Pooja Ganjage, prashantgajare, VitaliyB98, Megha_kundar, Swapnil_Kotwal, aimevp, ravi.shankar, slydevil, nitesh624, Maithri Shetty, rocketeerbkw, vcastillo
Changelog
Issues: 48 issues resolved.
Changes since 8.x-1.0-beta7:
Bug
- #3183040 by ccshannon: PHP Fatal error: Declaration of Drupal\rabbit_hole\BehaviorSettingsManager::saveBehaviorSettings must be compatible with Drupal\rabbit_hole\BehaviorSettingsManagerInterface::saveBehaviorSettings
- #2926929 by benjifisher, Matroskeen, mmbk, Etroid, Dylan Donkersgoed, keshav.k, rafmagsou, marvil07, mandclu, drupalmonkey: Fatal Error on empty Redirect Path
- #3161270 by codebymikey: The "target_entity_type_id" and "entity_id" properties in BehaviorSettings should be exported
- #2851441 by JeroenT, idebr, Dylan Donkersgoed: Config for a specific content type is still available after deleting the content type
- #2980785 by Matroskeen, chrissnyder: Cached redirect not removed from page cache when entity updated
- #3156322 by Matroskeen, nejcramsak: Rabbit Hole bundle settings is not created on content type creation, only on editing content type
- #3176202 by Matroskeen: Tokens don't work without contrib Token module in "Page Redirect" action
- #3076110 by aimevp, ravi.shankar: Rabbit Hole form appears on a taxonomy reset confirmation form
- #2931036 by slydevil: Rabbit hole form show on the node replicate form
- #3114466 by rocketeerbkw: Type hint should use AccountProxyInterface
- #3170720 by Matroskeen: Fix existing functional tests
Feature
- #3101692 by nadavoid, amitchell-p2, loze, Matroskeen: Add Hooks to Behavior Invoker
- #3095653 by Anybody, Matroskeen: Split performAction() into submethods in PageRedirect Behaviour
- #3011818 by xavier.masson, Matroskeen: PageRedirect don't handle Drupal scheme (base / internal / route / entity)
- #2900548 by leendertdb, zvse, Daniel Korte, markdc: Support for commerce products
- #2949353 by Webbeh, blacklabel_tom: Add a readme info on the sub-modules
- #3081242: Placement in Taxonomy Term edit form
Support
- #3134221 by Matroskeen, vcastillo: The "media" entity type does not exist
Task
- #3182536 by Matroskeen: Remove useless hook_theme
- #3181465 by Matroskeen: Introduce getEntity() method in BehaviorInvoker service
- #3181458 by Matroskeen: Define BehaviorInvokerInterface methods
- #3065592 by Matroskeen, oknate: Coding standard fixes
- #3129615 by Matroskeen, kapilkumar0324, andypost: RabbitHoleSubscriber::onRequest(),processEvent() has typehint with deprecated
- #3178829 by Matroskeen: Add test for "Allow these settings to be overridden for individual entities" checkbox
- #3177826 by Matroskeen: Add behavior invocation test coverage for rh_commerce module
- #3177818 by Matroskeen: Add form additions test coverage for rh_commerce module
- #3177562 by Matroskeen: Add behavior invocation test coverage for rh_group module
- #3177538 by Matroskeen: Add form additions test coverage for rh_group module
- #3176980 by Matroskeen: Add test coverage for "rabbit hole bypass *" permissions
- #3176956 by Matroskeen: Add test coverage for "rabbit hole administer *" permissions
- #3131242 by nikitagupta, ankithashetty, JeroenT: t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
- #3176183 by Matroskeen: Add test for "page redirect" action
- #3176131 by Matroskeen: Add behavior invocation test coverage for rh_user module
- #3176129 by Matroskeen: Add form additions test coverage for rh_user module
- #3175016 by munish.kumar, Matroskeen: Remove deprecated drupalPostForm from functional test
- #3174887 by Matroskeen: Add form additions test coverage for rh_media module
- #3175002 by Matroskeen: Add behavior invocation test coverage for rh_taxonomy module
- #3174950 by Matroskeen: Add base class for the Rabbit Hole behaviors invocation tests
- #3173357 by Matroskeen: Add test coverage for rh_taxonomy module
- #3172780 by Matroskeen: Add base class for the Rabbit Hole form additions tests
- #3172351 by Pooja Ganjage, JeroenT: Replace remaining assert* deprecations in rh_node
- #3135979 by prashantgajare, VitaliyB98: Clean up all the remaining $this->assert()
- #3171747 by Megha_kundar, Pooja Ganjage, JeroenT: Replace assertEqual/assertNotEqual with
- #3135971 by VitaliyB98, Swapnil_Kotwal, ankithashetty, JeroenT: Replace assertions involving calls to isset() with assertArrayHasKey()/assertArrayNotHasKey
- #3124710 by nitesh624, Maithri Shetty: Remove composer.json