Skip to content
Snippets Groups Projects
Commit 7d3d0ed8 authored by Yas Naoi's avatar Yas Naoi
Browse files

Fixed and test for drupal-8.0.0-beta15. NOTE: Server Templates module didn't pass SimpleTest

parent 5d58e2c1
No related branches found
No related tags found
No related merge requests found
CHANGE HISTORY
==============
2015/07/28 8.x-1.x-dev
2015/09/28 8.x-1.x-dev
- Fixed and test for drupal-8.0.0-beta15
- NOTE: Server Templates module didn't pass SimpleTest
2015/08/20 8.x-1.x-dev
- Uploaded some modules
2015/07/28 8.x-1.x-dev
......
......@@ -28,8 +28,8 @@ PERMISSONS
SYSTEM REQUIREMENTS
===================
- PHP 5.2 or Higher
- MySQL 5.1 or Higher
- PHP 5.4 or Higher
- MySQL 5.5 or Higher
- Drupal 8.x
- 512MB Memory: If you use AWS Cloud module, the running host of this
system requires more than 512MB memory to download a list of images
......@@ -48,7 +48,7 @@ cloud
- cloud_service_providers
- aws_cloud
hook_* FOR SUBSIDIARY MODULES
=============================
hook_api() FOR SUBSIDIARY MODULES
======================================
- TODO
......@@ -5,3 +5,10 @@ entity.cloud_alert.add_form:
- entity.cloud_alert.collection
- entity.cloud_alert.canonical
entity.cloud_alert.collection:
route_name: entity.cloud_alert.collection
title: 'List Alerts'
appears_on:
- entity.cloud_alert.add_form
- entity.cloud_alert.edit_form
- entity.cloud_alert.delete_form
\ No newline at end of file
<?php
// updated by yas 2015/09/28
/**
* @file
......@@ -35,7 +36,7 @@ function cloud_pricing_uninstall() {
* @see http://drupal.org/node/1354
*/
function cloud_pricing_schema() {
/*
\Drupal::moduleHandler()->load('cloud');
$schema = array();
......@@ -72,6 +73,7 @@ function cloud_pricing_schema() {
// To add more schema just add one more $schema['newtable'] array.
return $schema;
*/
}
/**
......
......@@ -4,9 +4,10 @@ entity.cloud_pricing.add_form:
appears_on:
- entity.cloud_pricing.collection
entity.default_entity.add_form:
route_name: 'entity.default_entity.add_form'
title: 'Add Pricing Information'
entity.cloud_pricing.collection:
route_name: entity.cloud_pricing.collection
title: 'List Pricing Information'
appears_on:
- entity.default_entity.collection
- entity.cloud_pricing.add_form
- entity.cloud_pricing.edit_form
- entity.cloud_pricing.delete_form
\ No newline at end of file
......@@ -5,3 +5,10 @@ entity.cloud_scripting.add_form:
- entity.cloud_scripting.collection
- entity.cloud_scripting.canonical
entity.cloud_scripting.collection:
route_name: entity.cloud_scripting.collection
title: 'List Script'
appears_on:
- entity.cloud_scripting.add_form
- entity.cloud_scripting.edit_form
- entity.cloud_scripting.delete_form
\ No newline at end of file
......@@ -5,3 +5,10 @@ entity.cloud_server_templates.add_form:
- entity.cloud_server_templates.collection
# - entity.cloud_server_templates.canonical
entity.cloud_server_templates.collection:
route_name: entity.cloud_server_templates.collection
title: 'List Server Templates'
appears_on:
- entity.cloud_server_templates.add_form
- entity.cloud_server_templates.edit_form
- entity.cloud_server_templates.delete_form
\ No newline at end of file
# CloudServerTemplates menu items definition
# noted by yas 2015/06/09:
# commented by yas 2015/06/09:
# I wonder why I needed '/' in front of entity.cloud_server_templates.collection
#
# commented by yas 2015/09/28:
# => Not necessary, it was a bug for Drupal 8 beta!
entity.cloud_server_templates.collection:
title: 'Server Templates: Listing'
route_name: /entity.cloud_server_templates.collection
description: 'List Server Templates'
# route_name: /entity.cloud_server_templates.collection
#
# commented by yas 2015/09/28; entity.cloud_server_templates.collection requires {cloud_context}
# therefore, it may not be suitable to put this route_name "...collection" here.
cloud_server_templates.admin.structure.settings:
title: Cloud Server Templates Settings
description: 'Configure Cloud Server Template entity'
route_name: cloud_server_templates.settings
parent: system.admin_structure
# Temporary disable below 2015/09/28
# route_name: entity.cloud_server_templates.collection
# description: 'List Server Templates'
# Temporary disable below 2015/09/28
# cloud_server_templates.admin.structure.settings:
# title: Cloud Server Templates Settings
# description: 'Configure Cloud Server Template entity'
# route_name: cloud_server_templates.settings
# parent: system.admin_structure
......@@ -4,3 +4,10 @@ entity.aws_cloud.add_form:
appears_on:
- entity.aws_cloud.collection
entity.aws_cloud.collection:
route_name: entity.aws_cloud.collection
title: 'List AWS Cloud Service Providers'
appears_on:
- entity.aws_cloud.add_form
- entity.aws_cloud.edit_form
- entity.aws_cloud.delete_form
\ No newline at end of file
......@@ -5,6 +5,7 @@
* Contains Drupal\cloud_pricing\Controller\CloudPricingListBuilder.
*/
// created by yas 2015/09/28
// created by yas 2015/06/01
namespace Drupal\cloud\Controller;
......@@ -63,7 +64,10 @@ class CloudConfigListBuilder extends ConfigEntityListBuilder {
'@label' => $this->entityType->getLabel())),
);
return $build + parent::render();
// Tips by yas 2015/09/28: don't return $build + parent::render()
// It produces two lists ("$build" + "parent::render") in one page.
// return $build + parent::render();
return $build;
}
/**
......
......@@ -5,6 +5,7 @@
* Contains Drupal\cloud\Controller\CloudContentListBuilder.
*/
// updated by yas 2015/09/28
// updated by yas 2015/06/08
// created by yas 2015/06/01
......@@ -61,7 +62,10 @@ class CloudContentListBuilder extends EntityListBuilder {
'@label' => $this->entityType->getLabel())),
);
return $build + parent::render();
// Tips by yas 2015/09/28: don't return $build + parent::render()
// It produces two lists ("$build" + "parent::render") in one page.
// return $build + parent::render();
return $build;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment