Move farm_log_ui to farm_ui_views.

This commit is contained in:
Michael Stenta 2020-11-27 10:33:30 -05:00
parent 6f7cea7d44
commit 99cba5cf35
5 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ function farm_modules() {
'farm_role_roles' => t('Default roles: Manager, Worker, Viewer'),
'farm_api' => t('farmOS API'),
'farm_dashboard' => t('farmOS Dashboard'),
'farm_log_ui' => t('farmOS Log Views'),
'farm_ui_views' => t('farmOS UI Views'),
],
'optional' => [
'farm_sensor' => t('Sensor assets'),

View File

@ -3,7 +3,7 @@ status: true
dependencies:
enforced:
module:
- farm_log_ui
- farm_ui_views
module:
- log
- options

View File

@ -1,5 +1,5 @@
name: farmOS Logs UI
description: Provides default Views of farmOS Logs.
name: farmOS UI Views
description: Provides default Views of farmOS entities.
type: module
package: farmOS UI
core_version_requirement: ^9

View File

@ -2,13 +2,13 @@
/**
* @file
* The farmOS Logs UI module.
* The farmOS UI Views module.
*/
/**
* Implements hook_farm_dashboard_panes().
*/
function farm_log_ui_farm_dashboard_panes() {
function farm_ui_views_farm_dashboard_panes() {
return [
'upcoming_tasks' => [
'view' => 'farm_log',

View File

@ -1,12 +1,12 @@
<?php
namespace Drupal\Tests\farm_log_ui\Functional;
namespace Drupal\Tests\farm_ui_views\Functional;
use Drupal\log\Entity\Log;
use Drupal\Tests\farm\Functional\FarmBrowserTestBase;
/**
* Tests the farm_log_ui dashboard panes.
* Tests the farm_ui_views dashboard panes.
*
* @group farm
*/
@ -39,7 +39,7 @@ class DashboardTasksTest extends FarmBrowserTestBase {
public static $modules = [
'farm_observation',
'farm_dashboard',
'farm_log_ui',
'farm_ui_views',
];
/**