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

cleanup #78

Open
wants to merge 5 commits into
base: 8.x-1.x
Choose a base branch
from
Open

cleanup #78

wants to merge 5 commits into from

Conversation

chx
Copy link
Collaborator

@chx chx commented Dec 7, 2015

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.

@@ -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();
Copy link
Collaborator

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.

@amitaibu
Copy link
Owner

amitaibu commented Dec 7, 2015

introduced a group repository

Can you please clarify what should go in the group repository - the name doesn't make it obvious for me.

}

/**
/**
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@amitaibu
Copy link
Owner

@chx is this still under your radar? :)

@chx
Copy link
Collaborator Author

chx commented Dec 21, 2015

I can look tomorrow, yes.

@amitaibu
Copy link
Owner

renamed GroupManager to GroupMap, introduced a group repository

@chx can you please clarify why GroupMap is a better name? Also what would group repository be used for -- querying everything OG related?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants