class RoyalSliderOptionSetEntity in RoyalSlider Integration 8
Defines a RoyalSliderOptionSet configuration entity class.
Plugin annotation
@ConfigEntityType(
id = "royalslider_optionset",
label = @Translation("RoyalSlider OptionSet"),
handlers = {
"list_builder" = "Drupal\royalslider\RoyalSliderOptionSetListBuilder",
"form" = {
"default" = "Drupal\royalslider\Form\RoyalSliderOptionSetForm",
"add" = "Drupal\royalslider\Form\RoyalSliderOptionSetForm",
"edit" = "Drupal\royalslider\Form\RoyalSliderOptionSetForm",
"delete" = "Drupal\royalslider\Form\RoyalSliderOptionSetDeleteForm"
}
},
config_prefix = "royalslider_optionset",
admin_permission = "administer site configuration",
entity_keys = {
"id" = "id",
"label" = "name"
},
links = {
"collection" = "entity.royalslider_optionset.collection",
"edit-form" = "entity.royalslider_optionset.edit_form",
"delete-form" = "entity.royalslider_optionset.delete_form"
}
)
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTrait
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
- class \Drupal\royalslider\Entity\RoyalSliderOptionSetEntity implements RoyalSliderOptionSetInterface
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
Expanded class hierarchy of RoyalSliderOptionSetEntity
1 file declares its use of RoyalSliderOptionSetEntity
File
- src/
Entity/ RoyalSliderOptionSetEntity.php, line 40 - Contains \Drupal\royalslider\Entity\RoyalSliderOptionSetEntity.
Namespace
Drupal\royalslider\EntityView source
class RoyalSliderOptionSetEntity extends ConfigEntityBase implements RoyalSliderOptionSetInterface {
/**
* The ID of the rs optionset.
*
* @var string
*/
public $id;
/**
* The rs optionset name.
*
* @var string
*/
public $name;
/**
* The following options are the general options for the slider.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#options
*/
/**
* Automatically updates slider height based on base width.
*
* @var bool
*/
public $auto_scale_slider = FALSE;
/**
* Base slider width.
* Slider will autocalculate the ratio based on these values.
*
* @var int
*/
public $auto_scale_slider_width = 800;
/**
* Base slider height.
*
* @var int
*/
public $auto_scale_slider_height = 400;
/**
* Scale mode for images.
*
* @var string
*/
public $image_scale_mode = 'fit-if-smaller';
/**
* Aligns image to center of slide.
*
* @var bool
*/
public $image_align_center = TRUE;
/**
* Distance between image and edge of slide (doesn't work with 'fill' scale mode).
*
* @var int
*/
public $image_scale_padding = 4;
/**
* Navigation type, can be 'bullets', 'thumbnails', 'tabs' or 'none'
*
* @var string
*/
public $control_navigation = 'bullets';
/**
* Direction arrows navigation.
*
* @var bool
*/
public $arrows_nav = TRUE;
/**
* Auto hide arrows.
*
* @var bool
*/
public $arrows_nav_auto_hide = TRUE;
/**
* Hides arrows completely on touch devices.
*
* @var bool
*/
public $arrows_nav_auto_hide_on_touch = FALSE;
/**
* Adds base width to all images for better-looking loading.
*
* @var int
*/
public $img_width = NULL;
/**
* Adds base height to all images for better-looking loading.
*
* @var int
*/
public $img_height = NULL;
/**
* Spacing between slides in pixels.
*
* @var int
*/
public $slides_spacing = 8;
/**
* Start slide index.
*
* @var int
*/
public $start_slide_id = 0;
/**
* Makes slider to go from last slide to first.
*
* @var bool
*/
public $loop = FALSE;
/**
* Makes slider to go from last slide to first with rewind. Overrides prev option.
*
* @var bool
*/
public $loop_rewind = FALSE;
/**
* Randomizes all slides at start.
*
* @var bool
*/
public $randomize_slides = FALSE;
/**
* Number of slides to preload on sides.
*
* @var int
*/
public $num_images_to_preload = 4;
/**
* Enables spinning preloader.
*
* @var bool
*/
public $use_preloader = TRUE;
/**
* Slides orientation: can be 'vertical' or 'horizontal'.
*
* @var string
*/
public $slides_orientation = 'horizontal';
/**
* Transition type: 'move' or 'fade'.
*
* @var string
*/
public $transition_type = 'move';
/**
* Slider transition speed, in ms.
*
* @var int
*/
public $transition_speed = 600;
/**
* Easing function for simple transition.
*
* @var string
*/
public $ease_in_out = 'easeInOutSine';
/**
* Easing function of animation after ending of the swipe gesture.
*
* @var string
*/
public $ease_out = 'easeOutSine';
/**
* If set to TRUE adds arrows and fullscreen button inside rsOverflow container,
* otherwise inside root slider container.
*
* @var bool
*/
public $controls_inside = TRUE;
/**
* Navigates forward by clicking on slide.
*
* @var bool
*/
public $navigate_by_click = TRUE;
/**
* Mouse drag navigation over slider.
*
* @var bool
*/
public $slider_drag = TRUE;
/**
* Touch navigation of slider.
*
* @var bool
*/
public $slider_touch = TRUE;
/**
* Navigate slider with keyboard left and right arrows.
*
* @var bool
*/
public $keyboard_nav_enabled = FALSE;
/**
* Fades in slide after it's loaded.
*
* @var bool
*/
public $fadein_loaded_slide = TRUE;
/**
* Allows usage of CSS3 transitions.
*
* @var bool
*/
public $allow_css3 = TRUE;
/**
* Adds global caption element to slider.
*
* @var bool
*/
public $global_caption = FALSE;
/**
* Adds rsActiveSlide class to current slide before transition.
*
* @var bool
*/
public $add_active_class = FALSE;
/**
* Minimum distance in pixels to show next slide while dragging.
*
* @var int
*/
public $min_slide_offset = 10;
/**
* Scales and animates height based on current slide.
*
* @var bool
*/
public $auto_height = FALSE;
/**
* Overrides HTML of slides,
* used for creating of slides from HTML that is not attached to DOM.
*
* @var string
*/
public $slides = NULL;
/**
* The following options are part of the 'Thumbnails & tabs' settings.
*
* The properties are prefixed with thumbs.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#thumbnails
*/
/**
* Thumbnails mouse drag.
*
* @var bool
*/
public $thumbs_drag = TRUE;
/**
* Thumbnails touch.
*
* @var bool
*/
public $thumbs_touch = TRUE;
/**
* Thumbnail orientation: 'horizontal' or 'vertical'.
*
* @var string
*/
public $thumbs_orientation = 'horizontal';
/**
* Thumbnails arrows.
*
* @var bool
*/
public $thumbs_arrows = TRUE;
/**
* Spacing between thumbs.
*
* @var int
*/
public $thumbs_spacing = 4;
/**
* Auto hide thumbnails arrows on hover.
*
* @var bool
*/
public $thumbs_arrows_auto_hide = FALSE;
/**
* Automatically centers container with thumbs if there are small number of items.
*
* @var bool
*/
public $thumbs_auto_center = TRUE;
/**
* Thumbnails transition speed.
*
* @var int
*/
public $thumbs_transition_speed = 600;
/**
* Reduces size of main viewport area by thumbnails width or height,
* use it when you set 100% width to slider.
*
* @var bool
*/
public $thumbs_fit_in_viewport = TRUE;
/**
* Margin that equals thumbs spacing for first and last item.
*
* @var bool
*/
public $thumbs_first_margin = TRUE;
/**
* Replaces default thumbnail arrow.
* Variable accepts jQuery element $('This is left arrow') that will be used as arrow.
* You have to add it to DOM manually.
*
* @var string
*/
public $thumbs_arrow_left = NULL;
/**
* Replaces default thumbnail arrow.
* Variable accepts jQuery element $('This is right arrow') that will be used as arrow.
* You have to add it to DOM manually.
*
* @var string
*/
public $thumbs_arrow_right = NULL;
/**
* Adds span element with class thumbIco to every thumbnail.
*
* @var bool
*/
public $thumbs_append_span = FALSE;
/**
* The following options are part of the 'Fullscreen' settings.
*
* The properties are prefixed with fullscreen_.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#fullscreen
*/
/**
* Fullscreen functions enabled.
*
* @var bool
*/
public $fullscreen_enabled = FALSE;
/**
* Force keyboard arrows nav in fullscreen.
*
* @var bool
*/
public $fullscreen_keyboard_nav = TRUE;
/**
* Fullscreen button at top right.
*
* @var bool
*/
public $fullscreen_button_fs = TRUE;
/**
* Native browser fullscreen.
*
* @var bool
*/
public $fullscreen_native_fs = FALSE;
/**
* The following options are part of the 'Deep linking' settings.
*
* The properties are prefixed with deep_linking.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#deeplinking
*/
/**
* Linking to slides by appending #SLIDE_INDEX to url.
*
* @var bool
*/
public $deep_linking_enabled = FALSE;
/**
* Automatically change URL after transition and listen for hash change.
*
* @var bool
*/
public $deep_linking_change = FALSE;
/**
* Prefix that will be added to hash.
*
* @var string
*/
public $deep_linking_prefix = '';
/**
* The following options are part of the 'Autoplay' settings.
*
* The properties are prefixed with autplay.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#autoplay
*/
/**
* Enable autoplay or not.
*
* @var bool
*/
public $autoplay_enabled = FALSE;
/**
* Stop autoplay at first user action.
*
* @var bool
*/
public $autoplay_stop_at_action = TRUE;
/**
* Pause autoplay on hover.
*
* @var bool
*/
public $autoplay_pause_on_hover = TRUE;
/**
* Delay between items in ms.
*
* @var int
*/
public $autoplay_delay = 3000;
/**
* The following options are part of the 'Video' settings.
*
* The properties are prefixed with video.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#video
*/
/**
* Auto hide arrows when video is playing.
*
* @var bool
*/
public $video_auto_hide_arrows = TRUE;
/**
* Auto hide navigation when video is playing.
*
* @var bool
*/
public $video_auto_hide_control_nav = FALSE;
/**
* Auto hide animated blocks when video is playing.
*
* @var bool
*/
public $video_auto_hide_blocks = FALSE;
/**
* Youtube embed code. %id% is replaced by video id.
*
* @var string
*/
public $video_youtube_code = '<iframe src="http://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0" frameborder="no"></iframe>';
/**
* Vimeo embed code. %id% is replaced by video id.
*
* @var string
*/
public $video_vimeo_code = '<iframe src="http://player.vimeo.com/video/%id%?byline=0&portrait=0&autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
/**
* The following options are part of the 'Animated blocks' settings.
*
* The properties are prefixed with animated.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#animated-blocks
*/
/**
* Adds a fade effect when transitioning between slides.
*
* @var bool
*/
public $animated_fade_effect = TRUE;
/**
* Move effect direction. Can be 'left', 'right', 'top', 'bottom' or 'none'.
*
* @var string
*/
public $animated_move_effect = 'top';
/**
* Distance for move effect in pixels.
*
* @var int
*/
public $animated_move_offset = 20;
/**
* Transition speed of block, in ms.
*
* @var int
*/
public $animated_speed = 400;
/**
* Easing function of block animation.
*
* @var string
*/
public $animated_easing = 'easeOutSine';
/**
* Delay between each block show up, in ms.
*
* @var int
*/
public $animated_delay = 200;
/**
* The following options are part of the 'Visible-nearby' settings.
*
* The properties are prefixed with visible_nearby_.
*
* @see http://dimsemenov.com/plugins/royal-slider/documentation/#visible-nearby
*/
/**
* Enable visible-nearby.
*
* @var bool
*/
public $visible_nearby_enabled = TRUE;
/**
* Ratio that determines area of center image.
*
* @var float
*/
public $visible_nearby_center_area = 0.6;
/**
* Alignment of center image, if you set it to false center image will be aligned to left.
*
* @var bool
*/
public $visible_nearby_center = TRUE;
/**
* Used for responsive design.
* Changes centerArea value to breakpointCenterArea when width of slider is
* less then value in this option. Set to 0 to disable. Should be number.
*
* @var int
*/
public $visible_nearby_breakpoint = 0;
/**
* Same as centerArea option, just for breakpoint.
*
* @var float
*/
public $visible_nearby_breakpoint_center_area = 0.8;
/**
* Build the javascript array from an optionset.
*/
public function buildJsOptionSet() {
$js_array = [
'autoScaleSlider' => $this->auto_scale_slider,
'autoScaleSliderWidth' => $this->auto_scale_slider_width,
'autoScaleSliderHeight' => $this->auto_scale_slider_height,
'loop' => $this->loop,
];
// Remove the values that are set to the default value.
foreach ($js_array as $key => $value) {
if ($this
->getOptionDefault($key) == $value) {
unset($js_array[$key]);
}
}
return $js_array;
}
private function getOptionDefault($key) {
$defaults = [
// General.
'manuallyInit' => (bool) FALSE,
'loop' => (bool) FALSE,
'loopRewind' => (bool) FALSE,
'randomizeSlides' => (bool) FALSE,
'usePreloader' => (bool) TRUE,
'numImagesToPreload' => 4,
'slidesOrientation' => 'horizontal',
'globalCaption' => FALSE,
// Full Screen.
'fullscreen' => array(
'enabled' => FALSE,
'keyboardNav' => TRUE,
'buttonFS' => TRUE,
'nativeFS' => FALSE,
),
// Navigation.
'controlNavigation' => 'bullets',
'controlsInside' => TRUE,
'sliderDrag' => TRUE,
'sliderTouch' => TRUE,
'keyboardNavEnabled' => FALSE,
'navigateByClick' => TRUE,
'arrowsNav' => TRUE,
'arrowsNavAutoHide' => TRUE,
'arrowsNavHideOnTouch' => FALSE,
// Thumbnails.
'thumbs' => array(
'drag' => TRUE,
'touch' => TRUE,
'orientation' => 'horizontal',
'arrows' => TRUE,
'spacing' => 4,
'arrowsAutoHide' => FALSE,
'autoCenter' => TRUE,
'transitionSpeed' => 600,
'fitInViewport' => TRUE,
'firstMargin' => TRUE,
'arrowLeft' => NULL,
'arrowRight' => NULL,
'appendSpan' => FALSE,
),
// Transitions.
'transitionType' => 'move',
'transitionSpeed' => 600,
'easeInOut' => 'easeInOutSine',
'easeOut' => 'easeOutSine',
'allowCSS3' => TRUE,
// Note: that since only 3 easing methods are available
// in CSS3 by default with RoyalSlider and we'd have to implement the rest
// ourselves, it's probably best to set this to FALSE in most Option Sets.
// However, in order to maintain compatibility with the RoyalSlider API
// we're leaving this be.
'addActiveClass' => FALSE,
'fadeinLoadedSlide' => TRUE,
// Dimensions.
'autoScaleSlider' => FALSE,
'autoScaleSliderWidth' => 800,
'autoScaleSliderHeight' => 400,
'autoHeight' => FALSE,
'imageScaleMode' => 'fit-if-smaller',
'imageScalePadding' => 4,
'imageAlignCenter' => TRUE,
'imgWidth' => NULL,
'imgHeight' => NULL,
'slidesSpacing' => 8,
// Autoplay
'autoplay' => array(
'enabled' => FALSE,
'stopAtAction' => TRUE,
'pauseOnHover' => TRUE,
'delay' => 300,
),
// Visible Nearby
'visibleNearby' => array(
'enabled' => TRUE,
'centerArea' => 0.6,
'center' => TRUE,
'navigateByCenterClick' => TRUE,
'breakpoint' => 0,
'breakpointCenterArea' => 0.8,
),
// Deep linking
'deeplinking' => array(
'enabled' => FALSE,
'change' => FALSE,
'prefix' => '',
),
// Video
'video' => array(
'autoHideArrows' => TRUE,
'autoHideControlNav' => FALSE,
'autoHideBlocks' => FALSE,
'youTubeCode' => '<iframe src="http://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0" frameborder="no"></iframe>',
'vimeoCode' => '<iframe src="http://player.vimeo.com/video/%id%?byline=0&portrait=0&autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>',
),
// Drupal-specific.
'drupalAutoSetSliderDimensions' => FALSE,
'drupalAutoSetImageDimensions' => TRUE,
];
return $defaults[$key];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyTrait:: |
protected | property | Cache contexts. | |
CacheableDependencyTrait:: |
protected | property | Cache max-age. | |
CacheableDependencyTrait:: |
protected | property | Cache tags. | |
CacheableDependencyTrait:: |
protected | function | Sets cacheability; useful for value object constructors. | |
ConfigEntityBase:: |
private | property | Whether the config is being deleted by the uninstall process. | |
ConfigEntityBase:: |
protected | property | The language code of the entity's default language. | |
ConfigEntityBase:: |
protected | property | The original ID of the configuration entity. | |
ConfigEntityBase:: |
protected | property | The enabled/disabled status of the configuration entity. | 4 |
ConfigEntityBase:: |
protected | property | Third party entity settings. | |
ConfigEntityBase:: |
protected | property | Trust supplied data and not use configuration schema on save. | |
ConfigEntityBase:: |
protected | property | The UUID for this entity. | |
ConfigEntityBase:: |
protected | property | Information maintained by Drupal core about configuration. | |
ConfigEntityBase:: |
protected | function | Overrides \Drupal\Core\Entity\DependencyTrait:addDependency(). | |
ConfigEntityBase:: |
public | function |
Calculates dependencies and stores them in the dependency property. Overrides ConfigEntityInterface:: |
13 |
ConfigEntityBase:: |
public | function |
Creates a duplicate of the entity. Overrides EntityBase:: |
1 |
ConfigEntityBase:: |
public | function |
Disables the configuration entity. Overrides ConfigEntityInterface:: |
1 |
ConfigEntityBase:: |
public | function |
Enables the configuration entity. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Returns the value of a property. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Returns the cache tags that should be used to invalidate caches. Overrides EntityBase:: |
1 |
ConfigEntityBase:: |
public | function |
Gets the configuration dependency name. Overrides EntityBase:: |
|
ConfigEntityBase:: |
protected static | function | Gets the configuration manager. | |
ConfigEntityBase:: |
public | function |
Gets the configuration target identifier for the entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Gets the configuration dependencies. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets the original ID. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Gets the list of third parties that store information. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets the value of a third-party setting. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets all third-party settings of a given module. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
protected | function | Gets the typed config manager. | |
ConfigEntityBase:: |
public | function |
Gets whether on not the data is trusted. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
protected static | function |
Override to never invalidate the individual entities' cache tags; the
config system already invalidates them. Overrides EntityBase:: |
|
ConfigEntityBase:: |
protected | function |
Override to never invalidate the entity's cache tag; the config system
already invalidates it. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Checks whether this entity is installable. Overrides ConfigEntityInterface:: |
2 |
ConfigEntityBase:: |
public | function |
Overrides Entity::isNew(). Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Returns whether this entity is being changed during the uninstall process. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Deprecated way of generating a link to the entity. See toLink(). Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Informs the entity that entities it depends on will be deleted. Overrides ConfigEntityInterface:: |
7 |
ConfigEntityBase:: |
public static | function |
Acts on entities before they are deleted and before hooks are invoked. Overrides EntityBase:: |
8 |
ConfigEntityBase:: |
public | function |
Acts on an entity before the presave hook is invoked. Overrides EntityBase:: |
13 |
ConfigEntityBase:: |
public | function |
Saves an entity permanently. Overrides EntityBase:: |
1 |
ConfigEntityBase:: |
public | function |
Sets the value of a property. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Sets the original ID. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Sets the status of the configuration entity. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Sets the value of a third-party setting. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function | ||
ConfigEntityBase:: |
public static | function | Helper callback for uasort() to sort configuration entities by weight and label. | 6 |
ConfigEntityBase:: |
public | function |
Returns whether the configuration entity is enabled. Overrides ConfigEntityInterface:: |
4 |
ConfigEntityBase:: |
public | function |
Gets an array of all property values. Overrides EntityBase:: |
2 |
ConfigEntityBase:: |
public | function |
Gets the URL object for the entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Sets that the data should be trusted. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Unsets a third-party setting. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets the public URL for this entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Gets the URL object for the entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Constructs an Entity object. Overrides EntityBase:: |
10 |
ConfigEntityBase:: |
public | function |
Overrides EntityBase:: |
4 |
DependencySerializationTrait:: |
protected | property | An array of entity type IDs keyed by the property name of their storages. | |
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | Aliased as: traitSleep | 1 |
DependencySerializationTrait:: |
public | function | 2 | |
DependencyTrait:: |
protected | property | The object's dependencies. | |
DependencyTrait:: |
protected | function | Adds multiple dependencies. | |
DependencyTrait:: |
protected | function | Adds a dependency. Aliased as: addDependencyTrait | |
EntityBase:: |
protected | property | Boolean indicating whether the entity should be forced to be new. | |
EntityBase:: |
protected | property | The entity type. | |
EntityBase:: |
protected | property | A typed data object wrapping this entity. | |
EntityBase:: |
public | function |
Checks data value access. Overrides AccessibleInterface:: |
1 |
EntityBase:: |
public | function |
Gets the bundle of the entity. Overrides EntityInterface:: |
1 |
EntityBase:: |
public static | function |
Constructs a new entity object, without permanently saving it. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Deletes an entity permanently. Overrides EntityInterface:: |
2 |
EntityBase:: |
public | function |
Enforces an entity to be new. Overrides EntityInterface:: |
|
EntityBase:: |
protected | function | Gets the entity manager. | |
EntityBase:: |
protected | function | Gets the entity type bundle info service. | |
EntityBase:: |
protected | function | Gets the entity type manager. | |
EntityBase:: |
public | function |
The cache contexts associated with this object. Overrides CacheableDependencyTrait:: |
|
EntityBase:: |
public | function |
The maximum age for which this object may be cached. Overrides CacheableDependencyTrait:: |
|
EntityBase:: |
public | function |
The cache tags associated with this object. Overrides CacheableDependencyTrait:: |
|
EntityBase:: |
public | function |
Gets the key that is used to store configuration dependencies. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets the entity type definition. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets the ID of the type of the entity. Overrides EntityInterface:: |
|
EntityBase:: |
protected | function | The list cache tags to invalidate for this entity. | |
EntityBase:: |
public | function |
Gets a typed data object for this entity object. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Indicates if a link template exists for a given key. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets the identifier. Overrides EntityInterface:: |
11 |
EntityBase:: |
public | function |
Gets the label of the entity. Overrides EntityInterface:: |
6 |
EntityBase:: |
public | function |
Gets the language of the entity. Overrides EntityInterface:: |
1 |
EntityBase:: |
protected | function | Gets the language manager. | |
EntityBase:: |
protected | function | Gets an array link templates. | 1 |
EntityBase:: |
public static | function |
Loads an entity. Overrides EntityInterface:: |
|
EntityBase:: |
public static | function |
Loads one or more entities. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Acts on a created entity before hooks are invoked. Overrides EntityInterface:: |
4 |
EntityBase:: |
public static | function |
Acts on deleted entities before the delete hook is invoked. Overrides EntityInterface:: |
16 |
EntityBase:: |
public static | function |
Acts on loaded entities. Overrides EntityInterface:: |
2 |
EntityBase:: |
public | function |
Acts on a saved entity before the insert or update hook is invoked. Overrides EntityInterface:: |
14 |
EntityBase:: |
public static | function |
Changes the values of an entity before it is created. Overrides EntityInterface:: |
5 |
EntityBase:: |
public | function |
Gets a list of entities referenced by this entity. Overrides EntityInterface:: |
1 |
EntityBase:: |
public | function |
Generates the HTML for a link to this entity. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets a list of URI relationships supported by this entity. Overrides EntityInterface:: |
|
EntityBase:: |
protected | function | Gets an array of placeholders for this entity. | 2 |
EntityBase:: |
public | function |
Gets the entity UUID (Universally Unique Identifier). Overrides EntityInterface:: |
1 |
EntityBase:: |
protected | function | Gets the UUID generator. | |
PluginDependencyTrait:: |
protected | function | Calculates and adds dependencies of a specific plugin instance. | 1 |
PluginDependencyTrait:: |
protected | function | Calculates and returns dependencies of a specific plugin instance. | |
PluginDependencyTrait:: |
protected | function | Wraps the module handler. | 1 |
PluginDependencyTrait:: |
protected | function | Wraps the theme handler. | 1 |
RefinableCacheableDependencyTrait:: |
public | function | 1 | |
RefinableCacheableDependencyTrait:: |
public | function | ||
RefinableCacheableDependencyTrait:: |
public | function | ||
RefinableCacheableDependencyTrait:: |
public | function | ||
RoyalSliderOptionSetEntity:: |
public | property | Adds rsActiveSlide class to current slide before transition. | |
RoyalSliderOptionSetEntity:: |
public | property | Allows usage of CSS3 transitions. | |
RoyalSliderOptionSetEntity:: |
public | property | Delay between each block show up, in ms. | |
RoyalSliderOptionSetEntity:: |
public | property | Easing function of block animation. | |
RoyalSliderOptionSetEntity:: |
public | property | Adds a fade effect when transitioning between slides. | |
RoyalSliderOptionSetEntity:: |
public | property | Move effect direction. Can be 'left', 'right', 'top', 'bottom' or 'none'. | |
RoyalSliderOptionSetEntity:: |
public | property | Distance for move effect in pixels. | |
RoyalSliderOptionSetEntity:: |
public | property | Transition speed of block, in ms. | |
RoyalSliderOptionSetEntity:: |
public | property | Direction arrows navigation. | |
RoyalSliderOptionSetEntity:: |
public | property | Auto hide arrows. | |
RoyalSliderOptionSetEntity:: |
public | property | Hides arrows completely on touch devices. | |
RoyalSliderOptionSetEntity:: |
public | property | Delay between items in ms. | |
RoyalSliderOptionSetEntity:: |
public | property | Enable autoplay or not. | |
RoyalSliderOptionSetEntity:: |
public | property | Pause autoplay on hover. | |
RoyalSliderOptionSetEntity:: |
public | property | Stop autoplay at first user action. | |
RoyalSliderOptionSetEntity:: |
public | property | Scales and animates height based on current slide. | |
RoyalSliderOptionSetEntity:: |
public | property | Automatically updates slider height based on base width. | |
RoyalSliderOptionSetEntity:: |
public | property | Base slider height. | |
RoyalSliderOptionSetEntity:: |
public | property | Base slider width. Slider will autocalculate the ratio based on these values. | |
RoyalSliderOptionSetEntity:: |
public | property | If set to TRUE adds arrows and fullscreen button inside rsOverflow container, otherwise inside root slider container. | |
RoyalSliderOptionSetEntity:: |
public | property | Navigation type, can be 'bullets', 'thumbnails', 'tabs' or 'none' | |
RoyalSliderOptionSetEntity:: |
public | property | Automatically change URL after transition and listen for hash change. | |
RoyalSliderOptionSetEntity:: |
public | property | Linking to slides by appending #SLIDE_INDEX to url. | |
RoyalSliderOptionSetEntity:: |
public | property | Prefix that will be added to hash. | |
RoyalSliderOptionSetEntity:: |
public | property | Easing function for simple transition. | |
RoyalSliderOptionSetEntity:: |
public | property | Easing function of animation after ending of the swipe gesture. | |
RoyalSliderOptionSetEntity:: |
public | property | Fades in slide after it's loaded. | |
RoyalSliderOptionSetEntity:: |
public | property | Fullscreen button at top right. | |
RoyalSliderOptionSetEntity:: |
public | property | Fullscreen functions enabled. | |
RoyalSliderOptionSetEntity:: |
public | property | Force keyboard arrows nav in fullscreen. | |
RoyalSliderOptionSetEntity:: |
public | property | Native browser fullscreen. | |
RoyalSliderOptionSetEntity:: |
public | property | Adds global caption element to slider. | |
RoyalSliderOptionSetEntity:: |
public | property | The ID of the rs optionset. | |
RoyalSliderOptionSetEntity:: |
public | property | Aligns image to center of slide. | |
RoyalSliderOptionSetEntity:: |
public | property | Scale mode for images. | |
RoyalSliderOptionSetEntity:: |
public | property | Distance between image and edge of slide (doesn't work with 'fill' scale mode). | |
RoyalSliderOptionSetEntity:: |
public | property | Adds base height to all images for better-looking loading. | |
RoyalSliderOptionSetEntity:: |
public | property | Adds base width to all images for better-looking loading. | |
RoyalSliderOptionSetEntity:: |
public | property | Navigate slider with keyboard left and right arrows. | |
RoyalSliderOptionSetEntity:: |
public | property | Makes slider to go from last slide to first. | |
RoyalSliderOptionSetEntity:: |
public | property | Makes slider to go from last slide to first with rewind. Overrides prev option. | |
RoyalSliderOptionSetEntity:: |
public | property | Minimum distance in pixels to show next slide while dragging. | |
RoyalSliderOptionSetEntity:: |
public | property | The rs optionset name. | |
RoyalSliderOptionSetEntity:: |
public | property | Navigates forward by clicking on slide. | |
RoyalSliderOptionSetEntity:: |
public | property | Number of slides to preload on sides. | |
RoyalSliderOptionSetEntity:: |
public | property | Randomizes all slides at start. | |
RoyalSliderOptionSetEntity:: |
public | property | Mouse drag navigation over slider. | |
RoyalSliderOptionSetEntity:: |
public | property | Touch navigation of slider. | |
RoyalSliderOptionSetEntity:: |
public | property | Overrides HTML of slides, used for creating of slides from HTML that is not attached to DOM. | |
RoyalSliderOptionSetEntity:: |
public | property | Slides orientation: can be 'vertical' or 'horizontal'. | |
RoyalSliderOptionSetEntity:: |
public | property | Spacing between slides in pixels. | |
RoyalSliderOptionSetEntity:: |
public | property | Start slide index. | |
RoyalSliderOptionSetEntity:: |
public | property | Adds span element with class thumbIco to every thumbnail. | |
RoyalSliderOptionSetEntity:: |
public | property | Thumbnails arrows. | |
RoyalSliderOptionSetEntity:: |
public | property | Auto hide thumbnails arrows on hover. | |
RoyalSliderOptionSetEntity:: |
public | property | Replaces default thumbnail arrow. Variable accepts jQuery element $('This is left arrow') that will be used as arrow. You have to add it to DOM manually. | |
RoyalSliderOptionSetEntity:: |
public | property | Replaces default thumbnail arrow. Variable accepts jQuery element $('This is right arrow') that will be used as arrow. You have to add it to DOM manually. | |
RoyalSliderOptionSetEntity:: |
public | property | Automatically centers container with thumbs if there are small number of items. | |
RoyalSliderOptionSetEntity:: |
public | property | Thumbnails mouse drag. | |
RoyalSliderOptionSetEntity:: |
public | property | Margin that equals thumbs spacing for first and last item. | |
RoyalSliderOptionSetEntity:: |
public | property | Reduces size of main viewport area by thumbnails width or height, use it when you set 100% width to slider. | |
RoyalSliderOptionSetEntity:: |
public | property | Thumbnail orientation: 'horizontal' or 'vertical'. | |
RoyalSliderOptionSetEntity:: |
public | property | Spacing between thumbs. | |
RoyalSliderOptionSetEntity:: |
public | property | Thumbnails touch. | |
RoyalSliderOptionSetEntity:: |
public | property | Thumbnails transition speed. | |
RoyalSliderOptionSetEntity:: |
public | property | Slider transition speed, in ms. | |
RoyalSliderOptionSetEntity:: |
public | property | Transition type: 'move' or 'fade'. | |
RoyalSliderOptionSetEntity:: |
public | property | Enables spinning preloader. | |
RoyalSliderOptionSetEntity:: |
public | property | Auto hide arrows when video is playing. | |
RoyalSliderOptionSetEntity:: |
public | property | Auto hide animated blocks when video is playing. | |
RoyalSliderOptionSetEntity:: |
public | property | Auto hide navigation when video is playing. | |
RoyalSliderOptionSetEntity:: |
public | property | Vimeo embed code. %id% is replaced by video id. | |
RoyalSliderOptionSetEntity:: |
public | property | Youtube embed code. %id% is replaced by video id. | |
RoyalSliderOptionSetEntity:: |
public | property | Used for responsive design. Changes centerArea value to breakpointCenterArea when width of slider is less then value in this option. Set to 0 to disable. Should be number. | |
RoyalSliderOptionSetEntity:: |
public | property | Same as centerArea option, just for breakpoint. | |
RoyalSliderOptionSetEntity:: |
public | property | Alignment of center image, if you set it to false center image will be aligned to left. | |
RoyalSliderOptionSetEntity:: |
public | property | Ratio that determines area of center image. | |
RoyalSliderOptionSetEntity:: |
public | property | Enable visible-nearby. | |
RoyalSliderOptionSetEntity:: |
public | function | Build the javascript array from an optionset. | |
RoyalSliderOptionSetEntity:: |
private | function | ||
RoyalSliderOptionSetInterface:: |
public | function | ||
SynchronizableEntityTrait:: |
protected | property | Whether this entity is being created, updated or deleted through a synchronization process. | |
SynchronizableEntityTrait:: |
public | function | ||
SynchronizableEntityTrait:: |
public | function |