protected function MenuTreeStorage::serializedFields
protected MenuTreeStorage::serializedFields()
Determines serialized fields in the storage.
Return value
array A list of fields that are serialized in the database.
File
- core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 1176
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\Core\MenuCode
protected function serializedFields() { if (empty($this->serializedFields)) { $schema = static::schemaDefinition(); foreach ($schema['fields'] as $name => $field) { if (!empty($field['serialize'])) { $this->serializedFields[] = $name; } } } return $this->serializedFields; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorage.php/function/MenuTreeStorage::serializedFields/8.1.x