Unverified Commit db062458 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3484365 by nexusnovaz, joachim: docs for...

Issue #3484365 by nexusnovaz, joachim: docs for EntityTypeInterface::getBundleOf() should say entity type *id*

(cherry picked from commit 6c280ff8)
parent 6ea3299f
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -480,15 +480,15 @@ public function setLinkTemplate($key, $path);
  public function getBundleEntityType();

  /**
   * Gets the entity type for which this entity provides bundles.
   * Gets the entity type ID for which this entity provides bundles.
   *
   * It can be used by other modules to act accordingly; for example,
   * the Field UI module uses it to add operation links to manage fields and
   * displays.
   *
   * @return string|null
   *   The entity type for which this entity provides bundles, or NULL if does
   *   not provide bundles for another entity type.
   *   The entity type ID for which this entity provides bundles, or NULL if
   *   does not provide bundles for another entity type.
   */
  public function getBundleOf();