Commit eeaeef81 authored by Achilles's avatar Achilles
Browse files

remove iek iekreadydata

parent 519b06f4
{#
/**
* @file iek_student.html.twig
* Default theme implementation to present IEK Student data.
*
* This template is used when viewing IEK Student pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_iek_student()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('iek_student') }}>
{% if content %}
{{- content -}}
{% endif %}
</div>
{#
/**
* @file iek_student_class.html.twig
* Default theme implementation to present IEK Student Class data.
*
* This template is used when viewing IEK Student Class pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_iek_student_class()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('iek_student_class') }}>
{% if content %}
{{- content -}}
{% endif %}
</div>
{#
/**
* @file iek_student_course_field.html.twig
* Default theme implementation to present Epal student course field data.
*
* This template is used when viewing Epal student course field pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_iek_student_course_field()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('iek_student_course_field') }}>
{% if content %}
{{- content -}}
{% endif %}
</div>
{#
/**
* @file iek_student_iek_chosen.html.twig
* Default theme implementation to present Epal student iek chosen data.
*
* This template is used when viewing Epal student iek chosen pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_iek_student_iek_chosen()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('iek_student_iek_chosen') }}>
{% if content %}
{{- content -}}
{% endif %}
</div>
{#
/**
* @file iek_users.html.twig
* Default theme implementation to present Epal users data.
*
* This template is used when viewing Epal users pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_iek_users()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('iek_users') }}>
{% if content %}
{{- content -}}
{% endif %}
</div>
{
"name": "drupal/iekreadydata",
"type": "drupal-module",
"description": "Data Avaialble from MySchool System",
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/iekreadydata",
"minimum-stability": "dev",
"support": {
"issues": "https://www.drupal.org/project/issues/iekreadydata",
"source": "http://cgit.drupalcode.org/iekreadydata"
},
"require": { }
}
<?php
/**
* @file
* Contains eiek_admin_area.page.inc.
*
* Page callback for Eiek admin area entities.
*/
use Drupal\Core\Render\Element;
use Drupal\Core\Link;
use Drupal\Core\Url;
/**
* Prepares variables for Eiek admin area templates.
*
* Default template: eiek_admin_area.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_admin_area(array &$variables) {
// Fetch EiekAdminArea Entity Object.
$eiek_admin_area = $variables['elements']['#eiek_admin_area'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains eiek_prefecture.page.inc.
*
* Page callback for Eiek prefecture entities.
*/
use Drupal\Core\Render\Element;
use Drupal\Core\Link;
use Drupal\Core\Url;
/**
* Prepares variables for Eiek prefecture templates.
*
* Default template: eiek_prefecture.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_prefecture(array &$variables) {
// Fetch EiekPrefecture Entity Object.
$eiek_prefecture = $variables['elements']['#eiek_prefecture'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains eiek_region.page.inc.
*
* Page callback for Eiek region entities.
*/
use Drupal\Core\Render\Element;
use Drupal\Core\Link;
use Drupal\Core\Url;
/**
* Prepares variables for Eiek region templates.
*
* Default template: eiek_region.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_region(array &$variables) {
// Fetch EiekRegion Entity Object.
$eiek_region = $variables['elements']['#eiek_region'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains eiek_school.page.inc.
*
* Page callback for Eiek school entities.
*/
use Drupal\Core\Render\Element;
use Drupal\Core\Link;
use Drupal\Core\Url;
/**
* Prepares variables for Eiek school templates.
*
* Default template: eiek_school.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_school(array &$variables) {
// Fetch EiekSchool Entity Object.
$eiek_school = $variables['elements']['#eiek_school'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains eiek_sectors.page.inc.
*
* Page callback for Eiek sectors entities.
*/
use Drupal\Core\Render\Element;
/**
* Prepares variables for Eiek sectors templates.
*
* Default template: eiek_sectors.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_sectors(array &$variables) {
// Fetch EiekSectors Entity Object.
$eiek_sectors = $variables['elements']['#eiek_sectors'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains eiek_specialties_in_iek.page.inc.
*
* Page callback for Eiek specialties in iek entities.
*/
use Drupal\Core\Render\Element;
use Drupal\Core\Link;
use Drupal\Core\Url;
/**
* Prepares variables for Eiek specialties in iek templates.
*
* Default template: eiek_specialties_in_iek.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_specialties_in_iek(array &$variables) {
// Fetch EiekSpecialtiesInEpal Entity Object.
$eiek_specialties_in_iek = $variables['elements']['#eiek_specialties_in_iek'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains eiek_specialty.page.inc.
*
* Page callback for Eiek specialty entities.
*/
use Drupal\Core\Render\Element;
use Drupal\Core\Link;
use Drupal\Core\Url;
/**
* Prepares variables for Eiek specialty templates.
*
* Default template: eiek_specialty.html.twig.
*
* @param array $variables
* An associative array containing:
* - elements: An associative array containing the user information and any
* - attributes: HTML attributes for the containing element.
*/
function template_preprocess_eiek_specialty(array &$variables) {
// Fetch EiekSpecialty Entity Object.
$eiek_specialty = $variables['elements']['#eiek_specialty'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
name: iekreadydata
type: module
description: Data Avaialble from MySchool System
core: 8.x
package: IEK
entity.eiek_admin_area.add_form:
route_name: entity.eiek_admin_area.add_form
title: 'Add Eiek admin area'
appears_on:
- entity.eiek_admin_area.collection
entity.eiek_specialty.add_form:
route_name: entity.eiek_specialty.add_form
title: 'Add Eiek specialty'
appears_on:
- entity.eiek_specialty.collection
entity.eiek_prefecture.add_form:
route_name: entity.eiek_prefecture.add_form
title: 'Add Eiek prefecture'
appears_on:
- entity.eiek_prefecture.collection
entity.eiek_region.add_form:
route_name: entity.eiek_region.add_form
title: 'Add Eiek region'
appears_on:
- entity.eiek_region.collection
entity.eiek_school.add_form:
route_name: entity.eiek_school.add_form
title: 'Add Eiek school'
appears_on:
- entity.eiek_school.collection
entity.eiek_specialties_in_iek.add_form:
route_name: entity.eiek_specialties_in_iek.add_form
title: 'Add Eiek specialties in iek'
appears_on:
- entity.eiek_specialties_in_iek.collection
entity.eiek_sectors.add_form:
route_name: entity.eiek_sectors.add_form
title: 'Add Eiek sectors'
appears_on:
- entity.eiek_sectors.collection
# Eiek admin area menu items definition
entity.eiek_admin_area.collection:
title: 'Eiek admin area list'
route_name: entity.eiek_admin_area.collection
description: 'List Eiek admin area entities'
parent: system.admin_structure
weight: 100
eiek_admin_area.admin.structure.settings:
title: Eiek admin area settings
description: 'Configure Eiek admin area entities'
route_name: eiek_admin_area.settings
parent: system.admin_structure
# Eiek specialty menu items definition
entity.eiek_specialty.collection:
title: 'Eiek specialty list'
route_name: entity.eiek_specialty.collection
description: 'List Eiek specialty entities'
parent: system.admin_structure
weight: 100
eiek_specialty.admin.structure.settings:
title: Eiek specialty settings
description: 'Configure Eiek specialty entities'
route_name: eiek_specialty.settings
parent: system.admin_structure
# Eiek prefecture menu items definition
entity.eiek_prefecture.collection:
title: 'Eiek prefecture list'
route_name: entity.eiek_prefecture.collection
description: 'List Eiek prefecture entities'
parent: system.admin_structure
weight: 100
eiek_prefecture.admin.structure.settings:
title: Eiek prefecture settings
description: 'Configure Eiek prefecture entities'
route_name: eiek_prefecture.settings
parent: system.admin_structure
# Eiek region menu items definition
entity.eiek_region.collection:
title: 'Eiek region list'
route_name: entity.eiek_region.collection
description: 'List Eiek region entities'
parent: system.admin_structure
weight: 100
eiek_region.admin.structure.settings:
title: Eiek region settings
description: 'Configure Eiek region entities'
route_name: eiek_region.settings
parent: system.admin_structure
# Eiek school menu items definition
entity.eiek_school.collection:
title: 'Eiek school list'
route_name: entity.eiek_school.collection
description: 'List Eiek school entities'
parent: system.admin_structure
weight: 100
eiek_school.admin.structure.settings:
title: Eiek school settings
description: 'Configure Eiek school entities'
route_name: eiek_school.settings
parent: system.admin_structure
# Eiek specialties in iek menu items definition
entity.eiek_specialties_in_iek.collection:
title: 'Eiek specialties in iek list'
route_name: entity.eiek_specialties_in_iek.collection
description: 'List Eiek specialties in iek entities'
parent: system.admin_structure
weight: 100
eiek_specialties_in_iek.admin.structure.settings:
title: Eiek specialties in iek settings
description: 'Configure Eiek specialties in iek entities'
route_name: eiek_specialties_in_iek.settings
parent: system.admin_structure
# Eiek sectors menu items definition
entity.eiek_sectors.collection:
title: 'Eiek sectors list'
route_name: entity.eiek_sectors.collection
description: 'List Eiek sectors entities'
parent: system.admin_structure
weight: 100
eiek_sectors.admin.structure.settings:
title: Eiek sectors settings
description: 'Configure Eiek sectors entities'
route_name: eiek_sectors.settings
parent: system.admin_structure
# Eiek admin area routing definition
eiek_admin_area.settings_tab:
route_name: eiek_admin_area.settings
title: 'Settings'
base_route: eiek_admin_area.settings
entity.eiek_admin_area.canonical:
route_name: entity.eiek_admin_area.canonical
base_route: entity.eiek_admin_area.canonical
title: 'View'
entity.eiek_admin_area.edit_form:
route_name: entity.eiek_admin_area.edit_form
base_route: entity.eiek_admin_area.canonical
title: 'Edit'
entity.eiek_admin_area.delete_form:
route_name: entity.eiek_admin_area.delete_form
base_route: entity.eiek_admin_area.canonical
title: Delete
weight: 10
# Eiek specialty routing definition
eiek_specialty.settings_tab:
route_name: eiek_specialty.settings
title: 'Settings'
base_route: eiek_specialty.settings
entity.eiek_specialty.canonical:
route_name: entity.eiek_specialty.canonical
base_route: entity.eiek_specialty.canonical
title: 'View'
entity.eiek_specialty.edit_form:
route_name: entity.eiek_specialty.edit_form
base_route: entity.eiek_specialty.canonical
title: 'Edit'
entity.eiek_specialty.delete_form:
route_name: entity.eiek_specialty.delete_form
base_route: entity.eiek_specialty.canonical
title: Delete
weight: 10
# Eiek prefecture routing definition
eiek_prefecture.settings_tab:
route_name: eiek_prefecture.settings
title: 'Settings'
base_route: eiek_prefecture.settings
entity.eiek_prefecture.canonical:
route_name: entity.eiek_prefecture.canonical
base_route: entity.eiek_prefecture.canonical
title: 'View'
entity.eiek_prefecture.edit_form:
route_name: entity.eiek_prefecture.edit_form
base_route: entity.eiek_prefecture.canonical
title: 'Edit'
entity.eiek_prefecture.delete_form:
route_name: entity.eiek_prefecture.delete_form
base_route: entity.eiek_prefecture.canonical
title: Delete
weight: 10
# Eiek region routing definition
eiek_region.settings_tab:
route_name: eiek_region.settings
title: 'Settings'
base_route: eiek_region.settings
entity.eiek_region.canonical:
route_name: entity.eiek_region.canonical
base_route: entity.eiek_region.canonical
title: 'View'
entity.eiek_region.edit_form:
route_name: entity.eiek_region.edit_form
base_route: entity.eiek_region.canonical
title: 'Edit'
entity.eiek_region.delete_form:
route_name: entity.eiek_region.delete_form
base_route: entity.eiek_region.canonical