public function PrivateItemList::isLocked in Private content 8.2
Return whether private field is locked (not-writeable), based on the node's content type.
Return value
boolean True if locked.
File
- src/
Plugin/ Field/ FieldType/ PrivateItemList.php, line 53
Class
- PrivateItemList
- List class for PrivateItem.
Namespace
Drupal\private_content\Plugin\Field\FieldTypeCode
public function isLocked() {
return $this
->checkTypeSetting(PRIVATE_ALWAYS, PRIVATE_DISABLED);
}