X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Fsrc%2FTermInterface.php;h=2dc26fb65dc4495f2620dae0911c2a06a878e112;hp=3087a56ecbf9965cb3c546612f4e63eeb114b270;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/taxonomy/src/TermInterface.php b/web/core/modules/taxonomy/src/TermInterface.php index 3087a56ec..2dc26fb65 100644 --- a/web/core/modules/taxonomy/src/TermInterface.php +++ b/web/core/modules/taxonomy/src/TermInterface.php @@ -4,11 +4,12 @@ namespace Drupal\taxonomy; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityChangedInterface; +use Drupal\Core\Entity\EntityPublishedInterface; /** * Provides an interface defining a taxonomy term entity. */ -interface TermInterface extends ContentEntityInterface, EntityChangedInterface { +interface TermInterface extends ContentEntityInterface, EntityChangedInterface, EntityPublishedInterface { /** * Gets the term's description. @@ -57,7 +58,7 @@ interface TermInterface extends ContentEntityInterface, EntityChangedInterface { /** * Sets the name of the term. * - * @param int $name + * @param string $name * The term's name. * * @return $this