X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Fsrc%2FTermInterface.php;h=2dc26fb65dc4495f2620dae0911c2a06a878e112;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=3087a56ecbf9965cb3c546612f4e63eeb114b270;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website 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