Skip to content

Og check field cardinality#56

Merged
amitaibu merged 6 commits into
amitaibu:8.x-1.xfrom
damiankloip:og-check-field-cardinality
Dec 2, 2015
Merged

Og check field cardinality#56
amitaibu merged 6 commits into
amitaibu:8.x-1.xfrom
damiankloip:og-check-field-cardinality

Conversation

@damiankloip

Copy link
Copy Markdown
Collaborator

This just ports the og_check_field_cardinality function, so should be pretty self sufficient.

I created a new OgHelper class, as I think we should start using this for things that are more helpers than API. The Og class will get way overloaded (more than it is already :)).

@damiankloip

Copy link
Copy Markdown
Collaborator Author

ping @amitaibu

Comment thread src/OgHelper.php Outdated

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

maybe this should be called OgGroupAudience or OgGroupAudienceHelper? - I think it would make its content clearer

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Sure, we can be more granular. I would go for OgGroupAudienceHelper.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

@damiankloip

Copy link
Copy Markdown
Collaborator Author

@amitaibu updated all the things.

Comment thread src/OgGroupAudienceHelper.php Outdated

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

OG audience field helper methods.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

👍

amitaibu added a commit that referenced this pull request Dec 2, 2015
@amitaibu amitaibu merged commit c9a7661 into amitaibu:8.x-1.x Dec 2, 2015
@amitaibu

amitaibu commented Dec 2, 2015

Copy link
Copy Markdown
Owner

Thanks!

@damiankloip

Copy link
Copy Markdown
Collaborator Author

Cheers! Can now be used in #40

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.

2 participants