projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
modules
/
taxonomy
/
src
/
TermInterface.php
diff --git
a/web/core/modules/taxonomy/src/TermInterface.php
b/web/core/modules/taxonomy/src/TermInterface.php
index 0a582d3d60d1164c5e5bfedd4a9a8874d23a05be..2dc26fb65dc4495f2620dae0911c2a06a878e112 100644
(file)
--- 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\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
+use Drupal\Core\Entity\EntityPublishedInterface;
/**
* Provides an interface defining a taxonomy term entity.
*/
/**
* Provides an interface defining a taxonomy term entity.
*/
-interface TermInterface extends ContentEntityInterface, EntityChangedInterface {
+interface TermInterface extends ContentEntityInterface, EntityChangedInterface
, EntityPublishedInterface
{
/**
* Gets the term's description.
/**
* Gets the term's description.
@@
-57,7
+58,7
@@
interface TermInterface extends ContentEntityInterface, EntityChangedInterface {
/**
* Sets the name of the term.
*
/**
* Sets the name of the term.
*
- * @param
int
$name
+ * @param
string
$name
* The term's name.
*
* @return $this
* The term's name.
*
* @return $this
@@
-87,6
+88,9
@@
interface TermInterface extends ContentEntityInterface, EntityChangedInterface {
*
* @return string
* The id of the vocabulary.
*
* @return string
* The id of the vocabulary.
+ *
+ * @deprecated Scheduled for removal before Drupal 9.0.0. Use
+ * TermInterface::bundle() instead.
*/
public function getVocabularyId();
*/
public function getVocabularyId();