Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roberto dev #29

Open
wants to merge 3 commits into
base: 8.x-0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "btesterltda/crm_core",
"type": "drupal-module",
"description": "CRM Core",
"homepage": "https://github.com/btesterltda/crm_core",
"license": "GPL-2.0+"
}
9 changes: 9 additions & 0 deletions modules/crm_core_contact_ui/crm_core_contact_ui.module
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,12 @@ function crm_core_contact_ui_admin_menu_map() {

return $map;
}

/**
* Implements hook_entity_type_build().
*
* Add field_ui_base_route.
*/
function crm_core_contact_ui_entity_type_build(&$entity_types) {
$entity_types['crm_core_contact']->set('field_ui_base_route','entity.crm_core_contact_type.edit_form');
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ crm_core.config:
route_name: crm_core.config
parent: system.admin_config
title: 'CRM Core'
description: 'CRM Core module and feature settings.'
description: 'CRM Core module and feature settings.'