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

move Og::getRole() to OgRole::loadByGroupTypeGroupBundleAndName() #306

Closed
wants to merge 2 commits into from
Closed

Conversation

golddragon007
Copy link

No description provided.

@@ -220,6 +220,13 @@ public static function loadByGroupAndName(EntityInterface $group, $name) {
/**
* {@inheritdoc}
*/
public static function loadByGroupTypeGroupBundleAndName($entity_type_id, $bundle, $role_name) {
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe let's just call it ::getRole? The long name leaks the implementation details.

@amitaibu
Copy link
Owner

@golddragon007 are you still around? 😄

@amitaibu
Copy link
Owner

amitaibu commented Sep 4, 2016

@RoySegall can you pick this up please.

@dakala
Copy link
Collaborator

dakala commented Sep 8, 2016

Gizra#167 is a more up-to-date duplicate PR

@dakala dakala closed this Sep 8, 2016
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