-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
]; | ||
|
||
return [ | ||
"create $type_id $entity_id" => [ |
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.
This has the order backwards. It should be entity_id, followed by type_id.
…missions but mark it as depreated as well.
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 { |
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.
Can we drop it then, given its just needed in 8.0.x?
Looks pretty alright for me |
No description provided.