Michael Stenta
8f2efe2724
Add default view_builder handler for plan type, for consistency.
...
Both asset type and plan type use a "canonical" link.
2023-11-27 11:44:31 -05:00
Michael Stenta
c0f02dfc0e
Update all core_version_requirement to ^10.
2023-10-30 12:07:29 -04:00
Paul Weidner
5ca5f1a3ab
Fix phpcs error that use statements should be sorted alphabetically
2023-06-13 09:53:49 -07:00
Michael Stenta
616261498d
Fix PHPStan error: Variable $target_state in empty() always exists and is always falsy.
2022-10-10 16:13:29 -04:00
Michael Stenta
e4a33497d7
Fix Call to deprecated methods assertText() and assertRaw().
2022-09-13 10:23:48 -04:00
Michael Stenta
4d36134cd4
Fix Call to deprecated method drupalPostForm().
2022-09-13 10:23:48 -04:00
Michael Stenta
63de8c406c
Fix "return statement is missing" PHPStan errors.
2022-09-13 10:23:47 -04:00
Michael Stenta
ff60b3164d
Fix \Drupal calls should be avoided in classes, use dependency injection instead.
2022-09-13 10:12:45 -04:00
Pedro Cambra
82433470c1
Issue #3306008 by pcambra: When not in entity context, template_preprocess_plan throws a warning
2022-08-26 05:21:34 -04:00
Paul Weidner
2c660bcf3e
Perform entity validation in state change actions.
2021-12-08 12:59:27 -05:00
paul121
997cd81f12
Plan state change actions support any workflow with the target state.
2021-10-18 16:16:09 -04:00
Michael Stenta
840307e36d
Remove unnecessary remember_roles from Views config.
2021-10-04 19:21:00 -04:00
paul121
b9f41d7d69
Explicitly enable access checking on content entity queries.
...
Not calling ::accessCheck() is deprecated in Drupal 9.2. See
https://www.drupal.org/node/3201242
2021-10-01 10:46:16 -04:00
Symbioquine
efb8535150
Improve plan archive timestamp behavior #446
...
**Why?** Fix some weird behavior and make sure
inconsistent states cannot occur;
* Allow setting the archived timestamp at the same
time as moving a plan to the archived state.
* Ensure that the archived timestamp cannot be set
without also transitioning into the archived state.
* Ensure that the arhived timestamp cannot be set to
NULL without transitioning back to the active state.
2021-09-24 12:36:14 -04:00
Michael Stenta
b49441efe4
Set $defaultTheme to stark for all descendants of FarmBrowserTestBase.
2021-09-06 10:46:20 -04:00
paul121
f7ce438a40
DeleteMultipleRouteProvider is deprecated.
2021-08-30 12:28:51 -04:00
Michael Stenta
b2f5349892
Add actions for archiving/activating assets and plans.
2021-08-30 12:28:51 -04:00
Michael Stenta
9e9734c3f5
Include link to new assets and plans in confirmation message.
2021-08-03 09:11:51 -04:00
Michael Stenta
9ae8dbed32
Issue #3224684 : Allow managed roles access to entity revisions tab
2021-07-22 10:01:44 -04:00
paul121
808d73b62c
Remove unused asset and plan page include files. #433
2021-06-23 07:47:56 -04:00
Michael Stenta
380796b4c8
Move FarmBrowserTestBase to a farm_test module.
2021-06-17 09:42:43 -04:00
Michael Stenta
cd7b615be0
Implement hook_theme(), hook_theme_suggestions_HOOK(), and template_preprocess_ENTITY_TYPE() in asset and plan modules.
2021-02-05 12:22:31 -05:00
Michael Stenta
f0d51a6c7f
Always redirect to the Plan entity in PlanForm::save().
2020-12-31 09:20:19 -05:00
Michael Stenta
e6909b926a
Remove "done" from AssetCRUDTest and AssetPlanTest.
2020-12-10 10:48:16 -05:00
Michael Stenta
6703a6af68
Initial plan module (straight copy+rename of asset module).
2020-12-06 16:33:29 -05:00