Skip to content
Snippets Groups Projects
Unverified Commit e3cedd07 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3151800 by pameeela, ayushmishra206, paulocs, adityasingh, quietone,...

Issue #3151800 by pameeela, ayushmishra206, paulocs, adityasingh, quietone, Bobík, longwave, Chris Burge: Describe what setInternal does
parent 832592c1
Branches
Tags
7 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards,!16Draft: Resolve #2081585 "History storage"
......@@ -377,6 +377,8 @@ public function isInternal() {
* Whether the data value should be internal.
*
* @return $this
*
* @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
*/
public function setInternal($internal) {
$this->definition['internal'] = $internal;
......
......@@ -224,6 +224,11 @@ public function addConstraint($constraint_name, $options = NULL);
* This can be used in a scenario when it is not desirable to expose this data
* value to an external system.
*
* The implications of this method are left to the discretion of the caller.
* For example, a module providing an HTTP API may not expose entities of
* this type, or a custom entity reference field settings form may
* deprioritize entities of this type in a select list.
*
* @return bool
* Whether the data value is internal.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment