public static function BlazyDefault::entitySettings in Blazy 8.2
Same name and namespace in other branches
- 8 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::entitySettings()
- 7 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::entitySettings()
Returns sensible default options common for entities lacking of UI.
5 calls to BlazyDefault::entitySettings()
- BlazyManagerTest::testPreprocessBlazy in tests/
src/ Kernel/ BlazyManagerTest.php - Tests building Blazy attributes.
- BlazyUnitTest::testBuildIframe in tests/
src/ Unit/ BlazyUnitTest.php - Tests \Drupal\blazy\Blazy::buildIframe.
- BlazyUnitTest::testPreprocessBlazy in tests/
src/ Unit/ BlazyUnitTest.php - Tests \Drupal\blazy\Blazy::preprocessBlazy.
- BlazyViewsFieldPluginBase::mergedViewsSettings in src/
Plugin/ views/ field/ BlazyViewsFieldPluginBase.php - Merges the settings.
- BlazyViewsTest::render in tests/
modules/ blazy_test/ src/ Plugin/ views/ style/ BlazyViewsTest.php - Overrides StylePluginBase::render().
File
- src/
BlazyDefault.php, line 174
Class
- BlazyDefault
- Defines shared plugin default settings for field formatter and Views style.
Namespace
Drupal\blazyCode
public static function entitySettings() {
return [
'media_switch' => 'media',
'rendered' => FALSE,
'view_mode' => 'default',
'_detached' => TRUE,
] + self::lazySettings();
}