-
Notifications
You must be signed in to change notification settings - Fork 16
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
cleanup #78
base: 8.x-1.x
Are you sure you want to change the base?
cleanup #78
Conversation
@@ -59,7 +64,8 @@ public function __construct(ConfigFactoryInterface $config_factory) { | |||
* @return bool | |||
*/ | |||
public function isGroup($entity_type_id, $bundle) { | |||
return isset($this->groupMap[$entity_type_id]) && in_array($bundle, $this->groupMap[$entity_type_id]); | |||
$group_map = $this->groupMap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had this like this originally, but removed it. It can come back though.
Can you please clarify what should go in the group repository - the name doesn't make it obvious for me. |
} | ||
|
||
/** | ||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
@chx is this still under your radar? :) |
I can look tomorrow, yes. |
@chx can you please clarify why |
After some discussion with dawehner, I renamed GroupManager to GroupMap, introduced a group repository and simplified the OgAccessEntityTest a litte: no need to define a field any more.