Skip to content

Commit

Permalink
Merge branch '2.x' into entity_query_support
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli committed Feb 2, 2023
2 parents cb4b363 + eb83f62 commit 074daad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/AppApiKeyAddFormBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
if ($api_products === []) {
// Is this a skeleton key?
$this->messenger()->addWarning($this->t('The @app @app_entity_label has no @apis associated.', $t_args + [
'@app_entity_label' => $this->app->getEntityType()->getSingularLabel(),
'@app_entity_label' => $this->app->getEntityType()->getSingularLabel(),
// @todo DI dependency.
// phpcs:disable
'@apis' => \Drupal::entityTypeManager()->getDefinition('api_product')->getPluralLabel(),
// phpcs:enable
]));
]));
return;
}

Expand Down

0 comments on commit 074daad

Please sign in to comment.