Skip to content

Commit 5ea6fd5

Browse files
committed
Cat facts module update for Drupal 9 compatibility
1 parent 41d825a commit 5ea6fd5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

modules/cat_facts/cat_facts.info.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
name: Cat Facts
2-
core: 8.x
32
type: module
3+
description: Example JSON API consumption in Drupal
4+
core_version_requirement: ^8.8 || ^9
5+
package: Custom

modules/cat_facts/src/CatFactsClient.php

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
use Drupal\Component\Serialization\Json;
66

7+
/**
8+
* Class CatFactsClient.
9+
*
10+
* @package Drupal\cat_facts
11+
*/
712
class CatFactsClient {
813

914
/**

0 commit comments

Comments
 (0)