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

#49 Removes necessity of permissions file from the entity module. #50

Merged
merged 9 commits into from
May 30, 2016

Conversation

Jaesin
Copy link
Owner

@Jaesin Jaesin commented Feb 23, 2016

No description provided.

];

return [
"create $type_id $entity_id" => [
Copy link
Contributor

Choose a reason for hiding this comment

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

This has the order backwards. It should be entity_id, followed by type_id.

@Jaesin
Copy link
Owner Author

Jaesin commented May 28, 2016

This is ready for review! Anyone?

use Drupal\Core\Routing\UrlGeneratorTrait;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
* Defines a class containing permission callbacks.
*
* @deprecated: This (typically proxied) class will be removed in the 8.x-2.x
* version of CEB in favor of using the `permission_provider` entity handler.
*/
class EntityBasePermissions implements ContainerInjectionInterface {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we drop it then, given its just needed in 8.0.x?

@dawehner
Copy link
Collaborator

Looks pretty alright for me

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

Successfully merging this pull request may close these issues.

3 participants