Skip to content

Commit

Permalink
Use vocabulary's current name, Media Use
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel authored Aug 9, 2024
1 parent 2b9b320 commit 49d4d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller/MediaSourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function put(MediaInterface $media, Request $request) {
* @param \Drupal\media\MediaTypeInterface $media_type
* Media type for new media.
* @param \Drupal\taxonomy\TermInterface $taxonomy_term
* Term from the 'Behavior' vocabulary to give to new media.
* Term from the 'Media Use' vocabulary to give to new media.
* @param \Symfony\Component\HttpFoundation\Request $request
* The request object.
*
Expand Down Expand Up @@ -164,7 +164,7 @@ public function putToNode(
$transaction = $this->database->startTransaction();

try {
$media = $this->service->putToNode(
$media = $this->service->putToNode(
$node,
$media_type,
$taxonomy_term,
Expand Down

0 comments on commit 49d4d9d

Please sign in to comment.