- Issue created by @sonam_sharma
- Issue was unassigned.
- Status changed to Needs work
almost 2 years ago 8:19am 3 July 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
The issue summary should always describe what should be fixed/changed. A sentence like I have removed some unnecessary code is not a sufficient description. Why is the code unnecessary? What is this issue trying to resolve?
- Status changed to Closed: works as designed
almost 2 years ago 2:50pm 10 July 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
-/** - * Defines the OAuth2 server authorization code entity. - * - * @ContentEntityType( - * id = "oauth2_server_authorization_code", - * label = @Translation("OAuth2 Server Authorization Code"), - * base_table = "oauth2_server_authorization_code", - * admin_permission = "administer oauth2 server", - * fieldable = FALSE, - * translatable = FALSE, - * entity_keys = { - * "id" = "code_id", - * "label" = "uid" - * } - * ) - */ class AuthorizationCode extends ContentEntityBase implements AuthorizationCodeInterface {
Annotations are not unnecessary code. Without them, Drupal core does not recognize plugins classes, including content entity classes.
There is nothing to change as per this issue.