Commit eeaeef81 authored by Achilles's avatar Achilles

remove iek iekreadydata

parent 519b06f4
{
"name": "drupal/iek",
"type": "drupal-module",
"description": "IEK Registration",
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/iek",
"minimum-stability": "dev",
"support": {
"issues": "https://www.drupal.org/project/issues/iek",
"source": "http://cgit.drupalcode.org/iek"
},
"require": { }
}
name: iek
type: module
description: IEK Registration
core: 8.x
package: IEK
dependencies:
- iekreadydata
\ No newline at end of file
entity.iek_student.add_form:
route_name: entity.iek_student.add_form
title: 'Add IEK Student'
appears_on:
- entity.iek_student.collection
entity.iek_student_class.add_form:
route_name: entity.iek_student_class.add_form
title: 'Add IEK Student Class'
appears_on:
- entity.iek_student_class.collection
entity.iek_student_iek_chosen.add_form:
route_name: entity.iek_student_iek_chosen.add_form
title: 'Add Epal student iek chosen'
appears_on:
- entity.iek_student_iek_chosen.collection
entity.iek_student_course_field.add_form:
route_name: entity.iek_student_course_field.add_form
title: 'Add Epal student course field'
appears_on:
- entity.iek_student_course_field.collection
entity.iek_users.add_form:
route_name: entity.iek_users.add_form
title: 'Add Epal users'
appears_on:
- entity.iek_users.collection
# IEK Student menu items definition
entity.iek_student.collection:
title: 'IEK Student list'
route_name: entity.iek_student.collection
description: 'List IEK Student entities'
parent: system.admin_iek
weight: 100
iek_student.admin.structure.settings:
title: IEK Student settings
description: 'Configure IEK Student entities'
route_name: iek_student.settings
parent: system.admin_structure
# IEK Student Class menu items definition
entity.iek_student_class.collection:
title: 'IEK Student Class list'
route_name: entity.iek_student_class.collection
description: 'List IEK Student Class entities'
parent: system.admin_iek
weight: 100
iek_student_class.admin.structure.settings:
title: IEK Student Class settings
description: 'Configure IEK Student Class entities'
route_name: iek_student_class.settings
parent: system.admin_structure
# Epal student iek chosen menu items definition
entity.iek_student_iek_chosen.collection:
title: 'Epal student iek chosen list'
route_name: entity.iek_student_iek_chosen.collection
description: 'List Epal student iek chosen entities'
parent: system.admin_structure
weight: 100
iek_student_iek_chosen.admin.structure.settings:
title: Epal student iek chosen settings
description: 'Configure Epal student iek chosen entities'
route_name: iek_student_iek_chosen.settings
parent: system.admin_structure
# Epal student course field menu items definition
entity.iek_student_course_field.collection:
title: 'Epal student course field list'
route_name: entity.iek_student_course_field.collection
description: 'List Epal student course field entities'
parent: system.admin_structure
weight: 100
iek_student_course_field.admin.structure.settings:
title: Epal student course field settings
description: 'Configure Epal student course field entities'
route_name: iek_student_course_field.settings
parent: system.admin_structure
# Epal users menu items definition
entity.iek_users.collection:
title: 'Epal users list'
route_name: entity.iek_users.collection
description: 'List Epal users entities'
parent: system.admin_structure
weight: 100
iek_users.admin.structure.settings:
title: Epal users settings
description: 'Configure Epal users entities'
route_name: iek_users.settings
parent: system.admin_structure
# IEK Student routing definition
iek_student.settings_tab:
route_name: iek_student.settings
title: 'Settings'
base_route: iek_student.settings
entity.iek_student.canonical:
route_name: entity.iek_student.canonical
base_route: entity.iek_student.canonical
title: 'View'
entity.iek_student.edit_form:
route_name: entity.iek_student.edit_form
base_route: entity.iek_student.canonical
title: 'Edit'
entity.iek_student.delete_form:
route_name: entity.iek_student.delete_form
base_route: entity.iek_student.canonical
title: Delete
weight: 10
# IEK Student Class routing definition
iek_student_class.settings_tab:
route_name: iek_student_class.settings
title: 'Settings'
base_route: iek_student_class.settings
entity.iek_student_class.canonical:
route_name: entity.iek_student_class.canonical
base_route: entity.iek_student_class.canonical
title: 'View'
entity.iek_student_class.edit_form:
route_name: entity.iek_student_class.edit_form
base_route: entity.iek_student_class.canonical
title: 'Edit'
entity.iek_student_class.delete_form:
route_name: entity.iek_student_class.delete_form
base_route: entity.iek_student_class.canonical
title: Delete
weight: 10
# Epal student iek chosen routing definition
iek_student_iek_chosen.settings_tab:
route_name: iek_student_iek_chosen.settings
title: 'Settings'
base_route: iek_student_iek_chosen.settings
entity.iek_student_iek_chosen.canonical:
route_name: entity.iek_student_iek_chosen.canonical
base_route: entity.iek_student_iek_chosen.canonical
title: 'View'
entity.iek_student_iek_chosen.edit_form:
route_name: entity.iek_student_iek_chosen.edit_form
base_route: entity.iek_student_iek_chosen.canonical
title: 'Edit'
entity.iek_student_iek_chosen.delete_form:
route_name: entity.iek_student_iek_chosen.delete_form
base_route: entity.iek_student_iek_chosen.canonical
title: Delete
weight: 10
# Epal student course field routing definition
iek_student_course_field.settings_tab:
route_name: iek_student_course_field.settings
title: 'Settings'
base_route: iek_student_course_field.settings
entity.iek_student_course_field.canonical:
route_name: entity.iek_student_course_field.canonical
base_route: entity.iek_student_course_field.canonical
title: 'View'
entity.iek_student_course_field.edit_form:
route_name: entity.iek_student_course_field.edit_form
base_route: entity.iek_student_course_field.canonical
title: 'Edit'
entity.iek_student_course_field.delete_form:
route_name: entity.iek_student_course_field.delete_form
base_route: entity.iek_student_course_field.canonical
title: Delete
weight: 10
# Epal users routing definition
iek_users.settings_tab:
route_name: iek_users.settings
title: 'Settings'
base_route: iek_users.settings
entity.iek_users.canonical:
route_name: entity.iek_users.canonical
base_route: entity.iek_users.canonical
title: 'View'
entity.iek_users.edit_form:
route_name: entity.iek_users.edit_form
base_route: entity.iek_users.canonical
title: 'Edit'
entity.iek_users.delete_form:
route_name: entity.iek_users.delete_form
base_route: entity.iek_users.canonical
title: Delete
weight: 10
<?php
/**
* @file
* Contains iek.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function iek_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the iek module.
case 'help.page.iek':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('IEK Registration') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_theme().
*/
function iek_theme() {
return [
'iek' => [
'template' => 'iek',
'render element' => 'children',
],
];
}
add iek student entities:
title: 'Create new IEK Student entities'
administer iek student entities:
title: 'Administer IEK Student entities'
description: 'Allow to access the administration form to configure IEK Student entities.'
restrict access: true
delete iek student entities:
title: 'Delete IEK Student entities'
edit iek student entities:
title: 'Edit IEK Student entities'
access iek student overview:
title: 'Access the IEK Student overview page'
view published iek student entities:
title: 'View published IEK Student entities'
view unpublished iek student entities:
title: 'View unpublished IEK Student entities'
add iek student class entities:
title: 'Create new IEK Student Class entities'
administer iek student class entities:
title: 'Administer IEK Student Class entities'
description: 'Allow to access the administration form to configure IEK Student Class entities.'
restrict access: true
delete iek student class entities:
title: 'Delete IEK Student Class entities'
edit iek student class entities:
title: 'Edit IEK Student Class entities'
access iek student class overview:
title: 'Access the IEK Student Class overview page'
view published iek student class entities:
title: 'View published IEK Student Class entities'
view unpublished iek student class entities:
title: 'View unpublished IEK Student Class entities'
add iek student iek chosen entities:
title: 'Create new Epal student iek chosen entities'
administer iek student iek chosen entities:
title: 'Administer Epal student iek chosen entities'
description: 'Allow to access the administration form to configure Epal student iek chosen entities.'
restrict access: true
delete iek student iek chosen entities:
title: 'Delete Epal student iek chosen entities'
edit iek student iek chosen entities:
title: 'Edit Epal student iek chosen entities'
access iek student iek chosen overview:
title: 'Access the Epal student iek chosen overview page'
view published iek student iek chosen entities:
title: 'View published Epal student iek chosen entities'
view unpublished iek student iek chosen entities:
title: 'View unpublished Epal student iek chosen entities'
add iek student course field entities:
title: 'Create new Epal student course field entities'
administer iek student course field entities:
title: 'Administer Epal student course field entities'
description: 'Allow to access the administration form to configure Epal student course field entities.'
restrict access: true
delete iek student course field entities:
title: 'Delete Epal student course field entities'
edit iek student course field entities:
title: 'Edit Epal student course field entities'
access iek student course field overview:
title: 'Access the Epal student course field overview page'
view published iek student course field entities:
title: 'View published Epal student course field entities'
view unpublished iek student course field entities:
title: 'View unpublished Epal student course field entities'
add iek users entities:
title: 'Create new Epal users entities'
administer iek users entities:
title: 'Administer Epal users entities'
description: 'Allow to access the administration form to configure Epal users entities.'
restrict access: true
delete iek users entities:
title: 'Delete Epal users entities'
edit iek users entities:
title: 'Edit Epal users entities'
access iek users overview:
title: 'Access the Epal users overview page'
view published iek users entities:
title: 'View published Epal users entities'
view unpublished iek users entities:
title: 'View unpublished Epal users entities'
<?php
/**
* @file
* Contains iek_student.page.inc.
*
* Page callback for IEK Student entities.
*/
use Drupal\Core\Render\Element;
/**
* Prepares variables for IEK Student templates.
*
* Default template: iek_student.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_iek_student(array &$variables) {
// Fetch EpalStudent Entity Object.
$iek_student = $variables['elements']['#iek_student'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains iek_student_class.page.inc.
*
* Page callback for IEK Student Class entities.
*/
use Drupal\Core\Render\Element;
/**
* Prepares variables for IEK Student Class templates.
*
* Default template: iek_student_class.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_iek_student_class(array &$variables) {
// Fetch EpalStudentClass Entity Object.
$iek_student_class = $variables['elements']['#iek_student_class'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains iek_student_course_field.page.inc.
*
* Page callback for Epal student course field entities.
*/
use Drupal\Core\Render\Element;
/**
* Prepares variables for Epal student course field templates.
*
* Default template: iek_student_course_field.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_iek_student_course_field(array &$variables) {
// Fetch EpalStudentCourseField Entity Object.
$iek_student_course_field = $variables['elements']['#iek_student_course_field'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains iek_student_iek_chosen.page.inc.
*
* Page callback for Epal student iek chosen entities.
*/
use Drupal\Core\Render\Element;
/**
* Prepares variables for Epal student iek chosen templates.
*
* Default template: iek_student_iek_chosen.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_iek_student_iek_chosen(array &$variables) {
// Fetch EpalStudentEpalChosen Entity Object.
$iek_student_iek_chosen = $variables['elements']['#iek_student_iek_chosen'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
/**
* @file
* Contains iek_users.page.inc.
*
* Page callback for Epal users entities.
*/
use Drupal\Core\Render\Element;
/**
* Prepares variables for Epal users templates.
*
* Default template: iek_users.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_iek_users(array &$variables) {
// Fetch EpalUsers Entity Object.
$iek_users = $variables['elements']['#iek_users'];
// Helpful $content variable for templates.
foreach (Element::children($variables['elements']) as $key) {
$variables['content'][$key] = $variables['elements'][$key];
}
}
<?php
namespace Drupal\iek\Entity;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Entity\ContentEntityBase;
use Drupal\Core\Entity\EntityChangedTrait;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\user\UserInterface;
/**
* Defines the IEK Student Class entity.
*
* @ingroup iek
*
* @ContentEntityType(
* id = "iek_student_class",
* label = @Translation("IEK Student Class"),
* handlers = {
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
* "list_builder" = "Drupal\iek\EpalStudentClassListBuilder",
* "views_data" = "Drupal\iek\Entity\EpalStudentClassViewsData",
* "translation" = "Drupal\iek\EpalStudentClassTranslationHandler",
*
* "form" = {
* "default" = "Drupal\iek\Form\EpalStudentClassForm",
* "add" = "Drupal\iek\Form\EpalStudentClassForm",
* "edit" = "Drupal\iek\Form\EpalStudentClassForm",
* "delete" = "Drupal\iek\Form\EpalStudentClassDeleteForm",
* },
* "access" = "Drupal\iek\EpalStudentClassAccessControlHandler",
* "route_provider" = {
* "html" = "Drupal\iek\EpalStudentClassHtmlRouteProvider",
* },
* },
* base_table = "iek_student_class",
* data_table = "iek_student_class_field_data",
* translatable = TRUE,
* admin_permission = "administer iek student class entities",
* entity_keys = {
* "id" = "id",
* "label" = "name",
* "uuid" = "uuid",
* "uid" = "user_id",
* "langcode" = "langcode",
* "status" = "status",
* "minno" = "minno",
* "maxno" = "maxno",
* },
* links = {
* "canonical" = "/admin/iek/iek_student_class/{iek_student_class}",
* "add-form" = "/admin/iek/iek_student_class/add",
* "edit-form" = "/admin/iek/iek_student_class/{iek_student_class}/edit",
* "delete-form" = "/admin/iek/iek_student_class/{iek_student_class}/delete",
* "collection" = "/admin/iek/iek_student_class",
* },
* field_ui_base_route = "iek_student_class.settings"
* )